Updating documentation
This commit is contained in:
24
commands.md
Normal file
24
commands.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Commands
|
||||
|
||||
## Playbook
|
||||
|
||||
### tags
|
||||
|
||||
`ansible-playbook -b test.yml --vault-password-file password --tags rust`
|
||||
`ansible-playbook -b test.yml --vault-password-file password --tags "setup,terraform"`
|
||||
|
||||
### run on Ubuntu in a venv
|
||||
|
||||
`ansible-playbook -b provision.yml --vault-pass-file=password -e ansible_python_interpreter=/usr/bin/python`
|
||||
|
||||
## Galaxy
|
||||
|
||||
### install requirements
|
||||
|
||||
`ansible-galaxy install -r requirements.yml`
|
||||
|
||||
## Vault
|
||||
|
||||
### Encrypt
|
||||
|
||||
`ansible-vault encrypt_string 'email-smtp.eu-west-1.amazonaws.com' --name 'vault_smtp_hostname' --vault-pass-file ./password`
|
||||
Reference in New Issue
Block a user