/lightsaber

Personal ansible playbooks and roles

Primary LanguagePython

My Ansible Setup

This is an ansible setup I use to manage my own machine(s).

I've tried to make it generic enough that you can clone it and use it too.

Credentials

I use pass to store the Ansible Vault password, which is used to encrypt/decrypt the various passwords for each host in inventory/host_vars/hostname.

You can generate the primary vault password by running pass generate sys/ansible/vault 32. Then you can add something like ansible_sudo_pass: 'foobar' to inventory/host_vars/127.0.0.1.