Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
wadhah101 committed Apr 13, 2023
1 parent 5851031 commit 8dc2d62
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,19 @@
register: instance_config_dict

- name: Convert instance config dict to a list
notify: "molecule configuration setup"
listen: "molecule configuration setup"
ansible.builtin.set_fact:
instance_conf: "{{ instance_config_dict.results | map(attribute='ansible_facts.instance_conf_dict') | list }}"

- name: Dump instance config
notify: "molecule configuration setup"
listen: "molecule configuration setup"
ansible.builtin.copy:
content: "{{ instance_conf | to_json | from_json | to_yaml }}"
dest: "{{ molecule_instance_config }}"
mode: 0664

- name: Wait for SSH
notify: "molecule configuration setup"
listen: "molecule configuration setup"
ansible.builtin.wait_for:
port: "{{ ssh_port }}"
host: "{{ item.address }}"
Expand Down

0 comments on commit 8dc2d62

Please sign in to comment.