Move playbooks in a separate directory

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-04-08 00:39:41 +02:00
parent 4814d7d6ae
commit 680b09ca2c
5 changed files with 14 additions and 7 deletions

7
plays/apt.yml Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env ansible-playbook
---
- hosts: debian
vars:
apt: "{{ glob_apt | default({}) | combine(service_apt | default({})) | combine(loc_apt | default({})) }}"
roles:
- apt

35
plays/base.yml Executable file
View File

@ -0,0 +1,35 @@
#!/usr/bin/env ansible-playbook
---
- import_playbook: apt.yml
- hosts: all
roles:
- cli-utils
- vim
- ssh
- hosts: templier.adh.crans.org
roles:
- bind
- docker
become: yes
- hosts: perso
roles:
- sudo
- systemd
- pacman
- ntp
- texlive
- xorg
- i3
- terminal
- notification
- mime
- audio
- multimedia
- pass
- communication
- browser
# - scripts