Exclude elasticsearch from container-destroy task

The goal is to keep elasticsearch logs from leap upgrade from Kilo,
Liberty and Mitaka to Newton.

Change-Id: I14840c16266dcfe2ed0aa0b89078adae441c8569
This commit is contained in:
Frank-ZhangXin 2017-10-02 16:37:04 -05:00
parent 835c2632f2
commit 0176aa4624

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:!rsyslog_all"
hosts: "{{ destroy_hosts | default('all_containers:!galera_all:!neutron_agent:!ceph_all:!rsyslog_all')}}"
gather_facts: false
user: root
tasks: