Save the rsyslog containers

These containers store logs within them and it would be bad to lose
these logs.

Change-Id: I0b3b114dce89c6e55d54efb351788e0cfe85c3b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2017-09-06 16:32:30 -05:00
parent 731dfd09ac
commit c19a606d58

View File

@ -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