create vpn books
This commit is contained in:
parent
1312ffac47
commit
321101b237
3 changed files with 16 additions and 1 deletions
5
books/vpn.yml
Normal file
5
books/vpn.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
---
|
||||||
|
- hosts: vpn
|
||||||
|
roles:
|
||||||
|
- vpn
|
6
hosts
6
hosts
|
@ -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
6
roles/vpn/tasks/main.yml
Normal 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"
|
Loading…
Reference in a new issue