updating commands
This commit is contained in:
26
commands
26
commands
@@ -1,8 +1,24 @@
|
|||||||
ansible-playbook -b test.yml --vault-password-file password --tags rust
|
# Commands
|
||||||
ansible-playbook -b test.yml --vault-password-file password --tags "setup,terraform"
|
|
||||||
|
|
||||||
ansible-galaxy install -r requirements.yml
|
## Playbook
|
||||||
|
|
||||||
ansible-vault encrypt_string 'email-smtp.eu-west-1.amazonaws.com' --name 'vault_smtp_hostname' --vault-pass-file ./password
|
### tags
|
||||||
|
|
||||||
ansible-playbook playbook.yml --connection=local
|
`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