aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-09-08 18:40:08 +0200
committerbinary <me@rgoncalves.se>2020-09-08 18:40:08 +0200
commitb6df5bb201ff4ea3c1701e05c3f66e465079a6cb (patch)
tree76c5d36b215e92077a735fe869cabab88c176109
parent1f13a00e0cd6c3a4616d3d8f33f875b25e7b1924 (diff)
downloadinfrastructure-b6df5bb201ff4ea3c1701e05c3f66e465079a6cb.tar.gz
Init with basics command
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..44f72e6
--- /dev/null
+++ b/README.md
@@ -0,0 +1,25 @@
+## preambule
+
+Ansible playbooks and roles for managing infrastructure at `<rgoncalves.se>`.
+
+## usage
+
+Generate a global playbook with all sub-roles.
+
+```bash
+./generate_all
+```
+
+Execute a role on a desired host or set of hosts.
+
+```bash
+ansible-playbook play-all.yml --tags "<desired_role>" --l "<desired host or host-pattern>"
+```
+
+## examples
+
+Update system and install utility on my primary physical server `OOP-DV-stack0`.
+
+```bash
+ansible-playbook play-all.yml --tags "update,setup_utils" -l "*stack0"
+```
remember that computers suck.