ansible/test/integration/targets/delegate_to/discovery_applied.yml

9 lines
157 B
YAML
Raw Normal View History

- hosts: testhost
gather_facts: no
tasks:
- command: ls
delegate_to: "{{ item }}"
with_items:
- localhost
- "{{ inventory_hostname }}"