You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Quentin Duchemin 4792a7cc44
new arl
4 months ago
inv new arl 4 months ago
roles [FW] Bump to 1.2.3 7 months ago
.gitignore make album download work 1 year ago
README.md Bump Lychee 9 months ago
all.yml Add CouchDB instance 7 months ago
ansible.cfg Change vault password location 2 years ago
music.yml Switch from deezloader to deemix 12 months ago
requirements.txt Functional base playbook 2 years ago

README.md

Install Ansible

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

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