Feat: new host Panais!

This commit is contained in:
Bertrand Benjamin 2020-03-17 06:07:10 +01:00
parent 2bee70d017
commit f363999430
2 changed files with 34 additions and 0 deletions

25
Panais.yml Normal file
View File

@ -0,0 +1,25 @@
---
- hosts: localhost
connection: local
vars_files:
- vars/common.yml
- vars/users.yml
- vars/server.yml
- vars/Panais.yml
tasks:
- include: tasks/ansible.yml
- include: tasks/deb_CLI_packages.yml
- include: tasks/prompt.yml
- include: tasks/users.yml
- include: tasks/sudo.yml
- include: tasks/ssh.yml
- include: tasks/dotfiles.yml
- include: tasks/deb_docker.yml
handlers:
- name: restart sshd
service:
name: sshd
state: restarted

9
vars/Panais.yml Normal file
View File

@ -0,0 +1,9 @@
---
deploy_public_key: id_rsa_manioc.pub
deploy_users:
- username: 'waha'
password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1'
uid: '999'
group: wheel
groups: sudo