mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
16 lines
359 B
YAML
16 lines
359 B
YAML
---
|
|
|
|
# Only *single* target patterns allowed
|
|
# No groups
|
|
|
|
- name: Forcefully run on the controller
|
|
delegate_to: 127.0.0.1 # or 'localhost'
|
|
connection: local
|
|
changed_when: false
|
|
ansible.builtin.command: hostname
|
|
|
|
- name: Forcefully run on a target from the inventory
|
|
delegate_to: copernicus
|
|
changed_when: false
|
|
ansible.builtin.command: hostname
|