21 lines
454 B
YAML
21 lines
454 B
YAML
---
|
|||
|
|
- name: configure via pct
|
||
|
|
hosts: work
|
||
|
|
gather_facts: false
|
||
|
|
roles:
|
||
|
|
- authorized-key-root
|
||
|
|
|
||
|
|
- name: configure over ssh
|
||
|
|
hosts: work
|
||
|
|
vars:
|
||
|
|
ansible_connection: ssh
|
||
|
|
ansible_host: "{{ ip }}"
|
||
|
|
ansible_user: root
|
||
|
|
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
|
||
|
|
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||
|
|
roles:
|
||
|
|
- sshd
|
||
|
|
- timezone
|
||
|
|
- locales
|
||
|
|
- work
|
||
|
|
- zabbix-agent2
|