fix login for all demos to be install

This commit is contained in:
ipvsean
2020-03-09 16:23:13 -04:00
parent 98adc65041
commit d9087d4403

View File

@@ -3,10 +3,10 @@
debug:
msg: "install {{demo}} on {{my_tower_host}}"
# - name: install all job templates
# include: add_job_template.yml
# loop: "{{ demos|dict2items }}"
# when: demo == "all"
- name: install all job templates
include: add_job_template.yml
loop: "{{dict(hostvars[inventory_hostname]|dictsort|rejectattr('0', 'match', 'ansible_')|selectattr('1.name', 'defined'))|dict2items}}"
when: demo == "all"
- name: install single job template
include: single_job_template.yml