Removing duplicate gather_facts in playbooks

This was introduced in I348a4b7dfe70d56a64899246daf65ea834a75d2a

Ansible complains with:

[WARNING]: While constructing a mapping from /opt/openstack-ansible/playbooks
/lxc-containers-create.yml, line 16, column 3, found a duplicate dict key
(gather_facts).  Using last defined value only.

Change-Id: I0cb978aa7b434568406a38c71da2e4bb1e1549cc
This commit is contained in:
Travis Truman 2016-06-17 14:18:42 -04:00
parent 8ef3b5db42
commit a471cbc80c
2 changed files with 2 additions and 4 deletions

View File

@ -15,9 +15,8 @@
- name: Create container(s) - name: Create container(s)
hosts: "{{ container_group|default('all_containers') }}" hosts: "{{ container_group|default('all_containers') }}"
gather_facts: "{{ gather_facts | default(True) }}"
max_fail_percentage: 20
gather_facts: false gather_facts: false
max_fail_percentage: 20
user: root user: root
roles: roles:
- { role: "lxc_container_create", tags: [ "lxc-container-create" ] } - { role: "lxc_container_create", tags: [ "lxc-container-create" ] }

View File

@ -15,9 +15,8 @@
- name: Destroy lxc containers - name: Destroy lxc containers
hosts: "{{ container_group|default('all_containers') }}" hosts: "{{ container_group|default('all_containers') }}"
gather_facts: "{{ gather_facts | default(True) }}"
max_fail_percentage: 20
gather_facts: false gather_facts: false
max_fail_percentage: 20
user: root user: root
tasks: tasks:
- name: Destroy a container - name: Destroy a container