Go to file
Quentin Duchemin f7906a649a
[FW] Add import container in DB network
2021-10-17 13:53:40 +02:00
inv Update secrets 2021-09-20 16:36:48 +02:00
roles [FW] Add import container in DB network 2021-10-17 13:53:40 +02:00
.gitignore make album download work 2021-05-12 17:13:33 +02:00
README.md Correct and synchronized timezone in system/containers 2021-07-23 14:04:42 +02:00
all.yml Add peertube 2021-08-05 15:33:12 +02:00
ansible.cfg Change vault password location 2021-03-14 19:33:24 +01:00
music.yml Switch from deezloader to deemix 2021-10-13 17:53:07 +02:00
requirements.txt Functional base playbook 2021-02-12 22:13:37 +01:00

README.md

Install Ansible

pip install -r requirements.txt
ansible-galaxy collection install community.general

Ansible Vault

To manage secrets, this repository use Ansible Vault.

Create a secret

ansible-vault create inv/host_vars/chosto.me/secrets.yml

Edit a secret

ansible-vault edit inv/host_vars/chosto.me/secrets.yml

Server

All servers managed should have this base configuration in order to work :

  • a user chosto
  • SSH access allowed for this user
  • a root access (sudo) for user chosto with a password specified as ansible_become_pass in inventory

e.g.

# adduser chosto
# adduser chosto sudo

Usage

ansible-playbook [-t tag1 tag2...] all.yml