create vpn books

This commit is contained in:
Jean-Marie Mineau 2021-04-22 20:31:33 +02:00
parent 1312ffac47
commit 321101b237
3 changed files with 16 additions and 1 deletions

5
books/vpn.yml Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env ansible-playbook
---
- hosts: vpn
roles:
- vpn

6
hosts
View file

@ -4,7 +4,7 @@ all:
ubuntu: ubuntu:
hosts: hosts:
hindley.adh.auro.re: hindley.adh.auro.re:
debian: debian-buster:
hosts: hosts:
azerty.fil.sand.auro.re: azerty.fil.sand.auro.re:
dns-histausse.fil.sand.auro.re: dns-histausse.fil.sand.auro.re:
@ -34,3 +34,7 @@ all:
vm1: vm1:
vm2: vm2:
vm3: vm3:
vpn:
hosts:
azerty.fil.sand.auro.re:
hindley.adh.auro.re:

6
roles/vpn/tasks/main.yml Normal file
View file

@ -0,0 +1,6 @@
---
- name: Add backports to buster
apt_repository:
repo: deb http://deb.debian.org/debian buster-backports main
state: present
when: "'debian-buster' in group_names"