Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 670 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 670 Bytes

Home infrastructure

Home infrastructure scripts

Ansible

Everything of the above needs to be run inside ansible directory. cd ansible

Create and activate virtual env (optional)

python3 -m venv --clear ~/python-env
source ~/python-env/bin/activate
pip install -U pip setuptools wheel # Optionally

Install ansible and tools

pip install -U ansible-core ansible ansible-lint ansible-navigator

Install ansible collections and roles

./bin/install-ansible-lib

Run ansible playbooks

# e.g.
./bin/ansible-playbook init.yml
./bin/ansible-playbook node-exporter.yml
./bin/ansible-playbook docker.yml