"One ring to rule them all"
- Fedora 36
- ansible-core >= 2.12
- shipilovds.workstation collection
To install ansible
:
pip install ansible
To install shipilovds.workstation
collection:
ansible-galaxy collection install -r requirements.yml
I use ansible-vault password file .vault_key
(vault_password_file
in ansible.cfg) to store my secure variables inside vars/enctypted.yml
vars/general.yml
contains all necessary variables that I need to setup my workstations.
vars/encrypted.yml
contains several encrypted variables I don't want to expose (obviously):
- services_shadowsocks_conf
- tools_pypirc_token
- tools_user_name
- tools_user_privkey
- tools_user_privkey_filename
- tools_user_pubkey
See roles documentation for more details.
ansible-playbook playbook.yml [-t tags(comma separated list)]