chore: ansible galaxy role creation examples

This commit is contained in:
Michele Cereda
2023-12-05 18:20:57 +01:00
parent 5f4b82389a
commit d4afb5fee1

View File

@@ -78,6 +78,10 @@ ansible-galaxy install 'namespace.role,v1.0.0'
ansible-galaxy install 'git+https://github.com/namespace/role.git,commit-hash'
ansible-galaxy install -r 'requirements.yml'
# Create new roles.
ansible-galaxy init 'role_name'
ansible-galaxy role init --type 'container' --init-path 'path/to/role' 'name'
# Remove roles installed from Galaxy.
ansible-galaxy remove 'namespace.role'
```