diff --git a/leap-upgrades/upgrade-utilities/destroy-old-containers.yml b/leap-upgrades/upgrade-utilities/destroy-old-containers.yml index 1c0756ce..b59dd02c 100644 --- a/leap-upgrades/upgrade-utilities/destroy-old-containers.yml +++ b/leap-upgrades/upgrade-utilities/destroy-old-containers.yml @@ -14,7 +14,7 @@ # limitations under the License. - name: Destroy lxc containers except galera - hosts: "all_containers:!galera_all:!neutron_agent:!ceph_all" + hosts: "all_containers:!galera_all:!neutron_agent:!ceph_all:!rsyslog_all" gather_facts: false user: root tasks: @@ -52,8 +52,8 @@ - "/var/lib/lxc/LXC_NAME" delegate_to: "{{ physical_host }}" -- name: Simple destroy the Galera Containers - hosts: galera_all +- name: Simple destroy the Galera and Logging Containers + hosts: "galera_all:rsyslog_all" gather_facts: false tasks: - name: Destroy a container