Syntax fix for tasks block in playbook

main
Mike Holloway 2 months ago
parent 3918c72f87
commit 8b0612ba43
  1. 6
      podman-host.yml

@ -3,8 +3,8 @@
become: yes become: yes
become_user: root become_user: root
- tasks: tasks:
ansible.builtin.add_host: add_host:
groups: run_target_hosts groups: run_target_hosts
name: "{{ item }}" name: "{{ item }}"
loop: "{{ target_hosts }}" loop: "{{ target_hosts }}"
@ -12,5 +12,5 @@
- hosts: target_hosts - hosts: target_hosts
gather_facts: true gather_facts: true
- roles: roles:
- podman-host - podman-host

Loading…
Cancel
Save