split playbooks

This commit is contained in:
Benedikt Penner
2026-03-15 01:30:35 +01:00
parent 8f97afa26e
commit 8e82c266e7
2 changed files with 9 additions and 8 deletions

View File

@@ -1,12 +1,4 @@
---
- hosts: bastion
gather_facts: false
tasks:
- name: Set authorized key taken from file
ansible.posix.authorized_key:
user: clusteruser
state: present
key: "{{ lookup('file', './files/ansible_key.pub') }}"
- hosts: test_server
gather_facts: true