diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index cff3725..a2d8583 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -7,6 +7,7 @@ - name: Reboot host become: true ansible.builtin.reboot: + - name: Wait for the host and reconnect ansible.builtin.wait_for: port: 22 diff --git a/tasks/main.yml b/tasks/main.yml index 3c25db9..19bed27 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,7 +2,7 @@ - name: Template task ansible.builtin.debug: msg: "{{ item }}" - with_items: + loop: - "{{ template_text }}" - "{{ ansible_os_family }}" - "{{ ansible_system_vendor }}"