Skip to content

Commit

Permalink
use loop
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Sjögren <[email protected]>
  • Loading branch information
konstruktoid committed Oct 6, 2023
1 parent 097996d commit 6f87f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Template task
ansible.builtin.debug:
msg: "{{ item }}"
with_items:
loop:
- "{{ template_text }}"
- "{{ ansible_os_family }}"
- "{{ ansible_system_vendor }}"

0 comments on commit 6f87f1b

Please sign in to comment.