Turns out name: is incompatible with include_role

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-08-16 17:41:49 +00:00
parent 0f68548855
commit e2b829c900
2 changed files with 2 additions and 4 deletions

View file

@ -104,8 +104,7 @@
- base - base
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
- name: Set up SSH - include_role: basessh
include_role: basessh
- name: make sure hostname is set right on rhel7 hosts - name: make sure hostname is set right on rhel7 hosts
hostname: name="{{inventory_hostname}}" hostname: name="{{inventory_hostname}}"

View file

@ -28,8 +28,7 @@
register: nova_result register: nova_result
when: host_is_up|failed when: host_is_up|failed
- name: Deploy SSH config - include_role: basessh
include_role: basessh
# instance can be both id and name, volume must be id # instance can be both id and name, volume must be id
# volume must be id # volume must be id