Files
ansible/playbooks/easy-rsa.yml
T
2026-09-20 22:14:56 +00:00

30 lines
736 B
YAML

---
- name: deploy rasy-rsa
hosts: localhost
connection: local
become: true
roles:
- easy-rsa
- name: configure liqueur openvpn
hosts: liqueur
vars:
ansible_connection: ssh
ansible_host: "{{ container_ip }}"
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
roles:
- openvpn
- name: configure router openvpn
hosts: router
vars:
ansible_connection: ssh
ansible_host: "{{ container_ip }}"
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
roles:
- openvpn