2026-10-02 21:34:01 +04:00
|
|
|
---
|
2026-10-18 12:34:19 +04:00
|
|
|
- name: configure via pct
|
|
|
|
|
hosts: pgsql
|
|
|
|
|
gather_facts: false
|
|
|
|
|
roles:
|
|
|
|
|
- authorized-key-root
|
|
|
|
|
|
2026-10-02 21:34:01 +04:00
|
|
|
- name: configure over ssh
|
|
|
|
|
hosts: pgsql
|
|
|
|
|
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
|
|
|
|
|
- pgsql
|
2026-10-18 12:34:19 +04:00
|
|
|
- zabbix-agent2
|