From c8325e289975645015284fb39bd26316f7e71e9f Mon Sep 17 00:00:00 2001 From: Anton Protopopov Date: Tue, 21 Feb 2023 16:14:32 +0400 Subject: [PATCH] Fix names of tasks --- roles/inventory/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"