refactor(ansible/snippets): split per usage

This commit is contained in:
Michele Cereda
2025-06-22 13:40:23 +02:00
parent 6af0d3aebb
commit 77fd322c17
7 changed files with 540 additions and 462 deletions

View File

@@ -0,0 +1,15 @@
---
# Only *single* target patterns allowed
# No groups
- name: Forcefully run on the controller
delegate_to: 127.0.0.1
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