diff --git a/roles/inventory/tasks/main.yml b/roles/inventory/tasks/main.yml index ab236d6..9370e0c 100644 --- a/roles/inventory/tasks/main.yml +++ b/roles/inventory/tasks/main.yml @@ -19,7 +19,7 @@ delegate_to: localhost when: bootstrap is not defined -- name: populate dynamic inventiry +- name: populate dynamic inventory add_host: name: "{{tmp_node}}" groups: "{{['stack'] + tmp_node|get_steps(stack.apps)}}" @@ -30,7 +30,7 @@ loop_var: tmp_node changed_when: false -- name: save invetory to file +- name: save inventory to file template: src: ansible_hosts.j2 dest: ".tmp/ansible_hosts"