M README.org => README.org +16 -1
@@ 1,10 1,25 @@
-* ccw.icu infra
+* ccw.icu infrastructure
Ansible Playbook I use to provision my Alpine Linux server
* Requirements
- ~ansible~ (~ansible-core~ is not enough, as I'm using ~community~ packages)
* Running
+As you might have noticed, from the ~.gitignore~,
+this repo does not contain the ~secret.yml~ nor the ~hosts.yml~,
+that is because they are meant to stay secret and you have to write your own.
+
+For more information on the ~hosts.yml~ file,
+see the [[https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html][How to build your inventory]] ansible wiki.
+
+To setup the secret store, run the following command:
+(and add the ~password:~ variable in there)
+#+begin_src bash
+ansible-vault create group_vars/all/secret.yaml
+#+end_src
+
+After creating the password store,
+you can run the playbook
#+begin_src bash
ansible-playbook run.yml -K --ask-vault-pass
#+end_src
M ansible.cfg => ansible.cfg +2 -0
@@ 1,5 1,7 @@
[defaults]
inventory = hosts.yml
+# disable cowsay - yes it looks beatiful, but is bloats the output
+nocows = True
[ssh_connections]
# significantly speed up ssh