Browse Source

ansible-galaxy: add page

Brandon Soto 7 years ago
parent
commit
7b72852a88
1 changed files with 23 additions and 0 deletions
  1. 23 0
      pages/common/ansible-galaxy.md

+ 23 - 0
pages/common/ansible-galaxy.md

@@ -0,0 +1,23 @@
+# ansible-galaxy
+
+> Create and manage Ansible roles
+
+- Install a role
+
+`ansible-galaxy install {{role_name}}`
+
+- Remove a role
+
+`ansible-galaxy remove {{role_name}}`
+
+- List installed roles
+
+`ansible-galaxy list`
+
+- Search for roles
+
+`ansible-galaxy search {{role_name}}`
+
+- Create a new role
+
+`ansible-galaxy init {{role_name}}`