summaryrefslogtreecommitdiff
path: root/README.txt
blob: 47f8d564366f56c0d7a0e2b24d197a0743ec49d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Ansible playbooks for personal infrastructure.


INSTALL

$ python3 -m venv .env
$ source .env/bin/activate
$ pip3 install -r requirements.txt


RUN

$ ansible-playbook essential.yml
$ ansible-playbook web.yml


DOTFILES

There are currently no secrets stored in dotfiles, therefore it is possible to
install dotfiles to localhost without decrypting Ansible Vault.

$ touch /tmp/ansible.cfg
$ ANSIBLE_CONFIG=/tmp/ansible.cfg \
    ansible-playbook dotfiles.yml \
    --extra-vars "user=`whoami`"


ROTATE VAULT PASSWORD

$ bin/rotate-vault-password.sh


REFERENCES

[1]: https://gitlab.archlinux.org/archlinux/infrastructure