diff options
author | sirkubax <muszynski@so1.net> | 2018-01-01 21:47:54 +0100 |
---|---|---|
committer | sirkubax <muszynski@so1.net> | 2018-01-01 21:47:54 +0100 |
commit | 7c5e5e67f60c1d8a450339e2477d66999762828d (patch) | |
tree | dc2e335172ca42e16e254875cf5dc9fcd9003fcd | |
parent | 986813057bf9cee39100a0ca71fcebf82079aab9 (diff) |
update
-rw-r--r-- | ansible.html.markdown | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown index b6eeb8a6..f4f504ec 100644 --- a/ansible.html.markdown +++ b/ansible.html.markdown @@ -408,7 +408,7 @@ $ export ANSIBLE_VAULT_PASSWORD_FILE=~/.ssh/secure_located_file $ ansible-playbook playbooks/vault_example.yml - # decrypt the file + # encrypt the file $ ansible-vault encrypt path/somefile # view the file @@ -428,13 +428,15 @@ You might like to know, that you can build your inventory dynamically. You do not need to invent the wheel - there are plenty ready to use inventory script for most popular Cloud provicers and a lot of in-house popular usecaseses. +[AWS example](http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html#example-aws-ec2-external-inventory-script) + ```bash -$ etc/inv/ec2.py --refresh +$ etc/inv/ec2.py --refresh $ ansible -m ping all -i etc/inv/ec2.py ``` -Read also about `dynamic inventory` below +[Read more](http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html) ### ansible profiling - callback It is ok that your playbook executes some time. Sometimes you may like to speed things up |