diff options
author | binary <me@rgoncalves.se> | 2020-09-08 18:40:08 +0200 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-09-08 18:40:08 +0200 |
commit | b6df5bb201ff4ea3c1701e05c3f66e465079a6cb (patch) | |
tree | 76c5d36b215e92077a735fe869cabab88c176109 | |
parent | 1f13a00e0cd6c3a4616d3d8f33f875b25e7b1924 (diff) | |
download | infrastructure-b6df5bb201ff4ea3c1701e05c3f66e465079a6cb.tar.gz |
Init with basics command
-rw-r--r-- | README.md | 25 |
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" +``` |