summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
Commit message (Collapse)AuthorAgeFilesLines
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-8/+7
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-7/+7
|
* Merge pull request #6136 from jmencak/tuned-uninstall-bz1509129Scott Dodson2017-12-081-1/+1
|\ | | | | Uninstall tuned-profiles-atomic-openshift-node as defined in origin.spec
| * Uninstall tuned-profiles-atomic-openshift-node as defined in origin.specJiri Mencak2017-11-161-1/+1
| | | | | | | | | | | | | | | | The origin.spec file defines two variants of tuned rpm packages: tuned-profiles-atomic-openshift-node and tuned-profiles-origin-node. Uninstall them both. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509129
* | Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-5/+0
| | | | | | | | | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* | retry package operationsLuke Meyer2017-11-301-0/+10
|/ | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* Merge pull request #5967 from gregswift/uninstallOpenShift Merge Robot2017-11-151-14/+55
|\ | | | | | | | | | | | | Automatic merge from submit-queue. Cleans up additional artifacts in uninstall. Closes 3082 Closes #3082
| * Cleans up additional artifacts in uninstall. Closes 3082Greg Swift2017-10-311-14/+55
| |
* | Remove remaining haproxy files with uninstallationKenjiro Nakayama2017-11-081-0/+4
|/
* Remove some reminants of Atomic EnterpriseScott Dodson2017-09-261-36/+2
|
* Remove openshift-commonMichael Gugino2017-09-061-2/+0
| | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* Test docker restart with retries 3 delay 30Steve Milner2017-07-181-0/+4
|
* Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-9/+16
|
* Restart NetworkManager only if dnsmasq was usedBenjamin Affolter2017-06-211-0/+1
|
* Rename cockpit-shell -> cockpit-systemRodolfo Carvalho2017-06-161-2/+2
| | | | | | | | The package name has changed. See https://bugzilla.redhat.com/show_bug.cgi?id=1461689 https://bugzilla.redhat.com/show_bug.cgi?id=1419718
* Separate client config removal in uninstall s.t. ansible_ssh_user is removed ↵Andrew Butcher2017-06-061-2/+10
| | | | from with_items.
* Uninstall: restart docker when container-engine restart hasn't changed.Andrew Butcher2017-05-171-1/+1
|
* uninstall: handle container-engineGiuseppe Scrivano2017-05-151-0/+7
| | | | | | | Try to restart the docker service only when there is not already a running container-engine service. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Don't double quote when conditionsScott Dodson2017-05-011-4/+4
|
* Remove jinja template delimeters from when conditionsScott Dodson2017-05-011-4/+4
| | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* uninstall: delete master-api and master-controllersGiuseppe Scrivano2017-02-101-0/+16
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* etcd: use as system containerGiuseppe Scrivano2017-02-101-1/+4
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Implement uninstall for system containersGiuseppe Scrivano2017-02-101-0/+23
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Partial uninstallSebastian Jug2017-01-101-97/+177
|
* [uninstall] Remove excluder packagesScott Dodson2016-12-161-0/+8
| | | | You will lose hours of your life if you don't do this.
* YAML LintingRussell Teague2016-12-121-1/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Refactor to use Ansible package moduleRussell Teague2016-11-171-5/+5
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-141-0/+1
| | | | | Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd.
* Uninstall etcd3 packageScott Dodson2016-11-121-0/+2
|
* [uninstall] Stop services on all hosts prior to removing files.Andrew Butcher2016-09-191-28/+41
|
* Add origin-node.service.wants to uninstallAndrew Lau2016-09-171-1/+2
|
* Check for is_atomic when uninstalling flannel package.Andrew Butcher2016-09-121-1/+1
|
* Fix warningsManjunath A Kumatagi2016-09-071-0/+4
|
* Merge pull request #2347 from brenton/BZ1369410Scott Dodson2016-09-011-16/+18
|\ | | | | Bug 1369410 - uninstall fail at task [restart docker] on atomic-host
| * Bug 1369410 - uninstall fail at task [restart docker] on atomic-hostBrenton Leanhardt2016-08-231-16/+18
| | | | | | | | | | | | | | | | * Moved the restarting of docker and network services lower. * Added /etc/systemd/system/docker.service.d/docker-sdn-ovs.conf to the list of files to be removed (I suspect the RPM uninstall handles this for non-containerized installs) * sorted the file names
* | Add flannel package removal in uninstallation playbookManjunath A Kumatagi2016-09-011-0/+5
|/
* Fix etcd uninstallScott Dodson2016-08-191-1/+4
|
* Update uninstall.ymlScott Dodson2016-08-171-1/+1
| | | Fixes #2317
* Allow flag to uninstall playbook to preserve images.Devan Goodwin2016-06-231-0/+2
| | | | | | Default is still True, but allow devs to specify False in inventory to avoid having to re-download all images. With upcoming changes the actual images present on the system will have no effect on what gets run.
* Fix uninstall.yml indentation for deamon-reloadtalset2016-06-151-5/+5
| | | | * command: systemctl daemon-reload need to be at the task level, not in the with_items
* Separate uninstall plays by group.Andrew Butcher2016-06-131-237/+351
|
* Only run node specific bits on nodesScott Dodson2016-06-031-75/+69
|
* Catch more uninstall targetsScott Dodson2016-05-241-1/+12
|
* Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-241-3/+5
| | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* Unmask atomic-openshift-master on uninstallScott Dodson2016-05-091-0/+1
| | | | | | If you'd installed HA cluster this service would've been masked. If you then uninstalled and installed a non HA cluster you run into atomic-openshift-master service not being loaded.
* Replace deprecated sudo with become.Andrew Butcher2016-04-251-2/+2
|
* Add openshift_node_dnsmasqScott Dodson2016-04-191-0/+5
|
* Unmask servicesBrenton Leanhardt2016-04-061-0/+8
| | | | | Unmasking etcd is is important when switching from containerized installs to RPM installs
* Stop the etcd container during uninstallBrenton Leanhardt2016-03-081-1/+1
|
* Remove cockpit and kubernetes-client packages in uninstall playbook.Andrew Butcher2016-03-041-0/+5
|