forked from saratov/infra
Fix names of tasks
This commit is contained in:
parent
478bc1a795
commit
c8325e2899
@ -19,7 +19,7 @@
|
|||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
when: bootstrap is not defined
|
when: bootstrap is not defined
|
||||||
|
|
||||||
- name: populate dynamic inventiry
|
- name: populate dynamic inventory
|
||||||
add_host:
|
add_host:
|
||||||
name: "{{tmp_node}}"
|
name: "{{tmp_node}}"
|
||||||
groups: "{{['stack'] + tmp_node|get_steps(stack.apps)}}"
|
groups: "{{['stack'] + tmp_node|get_steps(stack.apps)}}"
|
||||||
@ -30,7 +30,7 @@
|
|||||||
loop_var: tmp_node
|
loop_var: tmp_node
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: save invetory to file
|
- name: save inventory to file
|
||||||
template:
|
template:
|
||||||
src: ansible_hosts.j2
|
src: ansible_hosts.j2
|
||||||
dest: ".tmp/ansible_hosts"
|
dest: ".tmp/ansible_hosts"
|
||||||
|
Loading…
Reference in New Issue
Block a user