Files
ansible-collection/playbooks/nginx.yml
T

15 lines
352 B
YAML
Raw Normal View History

2026-10-02 21:34:01 +04:00
---
- name: configure over ssh
hosts: nginx
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
- nginx
- certbot