mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7fbacf920d
* Remove misleading statement passwords must be same Since 2.4 Ansible has supported multiple vault passwords: <https://docs.ansible.com/ansible/latest/user_guide/vault.html#multiple-vault-passwords> Meaning lines like the following are misleading: > The password used with vault currently must be the same for all files you wish > to use together at the same time. -- `docs/docsite/rst/user_guide/vault.rst` To demonstrate this with Ansible 2.7, save the following as `example.yaml`: ``` - name: Display output from two vaults with different passwords hosts: localhost connection: local vars_files: [one.yaml, two.yaml] tasks: - name: View secret from one.yaml vault debug: { var: one } - name: View secret from two.yaml vault debug: { var: two } ``` Then run the three following commands choosing two different passwords: ``` $ echo 'one: 1' | ansible-vault encrypt --vault-id id1@prompt --output=one.yaml $ echo 'two: 2' | ansible-vault encrypt --vault-id id2@prompt --output=two.yaml $ ansible-playbook --vault-id id1@prompt --vault-id id2@prompt example.yaml ``` `ansible-vault` stores an ID in plain text in the vault file. * Remove note about default in Ansible 2.1 As requested by gundalow in https://github.com/ansible/ansible/pull/49798 |
6 years ago | |
---|---|---|
.. | ||
shared_snippets | 7 years ago | |
become.rst | 6 years ago | |
command_line_tools.rst | 6 years ago | |
index.rst | 7 years ago | |
intro.rst | 6 years ago | |
intro_adhoc.rst | 6 years ago | |
intro_bsd.rst | 6 years ago | |
intro_dynamic_inventory.rst | 6 years ago | |
intro_getting_started.rst | 6 years ago | |
intro_inventory.rst | 6 years ago | |
intro_patterns.rst | 6 years ago | |
intro_windows.rst | 7 years ago | |
modules.rst | 6 years ago | |
modules_intro.rst | 6 years ago | |
modules_support.rst | 6 years ago | |
playbook_pathing.rst | 6 years ago | |
playbooks.rst | 6 years ago | |
playbooks_advanced_syntax.rst | 6 years ago | |
playbooks_async.rst | 6 years ago | |
playbooks_best_practices.rst | 6 years ago | |
playbooks_blocks.rst | 6 years ago | |
playbooks_checkmode.rst | 7 years ago | |
playbooks_conditionals.rst | 6 years ago | |
playbooks_debugger.rst | 6 years ago | |
playbooks_delegation.rst | 6 years ago | |
playbooks_environment.rst | 6 years ago | |
playbooks_error_handling.rst | 6 years ago | |
playbooks_filters.rst | 6 years ago | |
playbooks_filters_ipaddr.rst | 6 years ago | |
playbooks_intro.rst | 6 years ago | |
playbooks_lookups.rst | 6 years ago | |
playbooks_loops.rst | 6 years ago | |
playbooks_module_defaults.rst | 6 years ago | |
playbooks_prompts.rst | 6 years ago | |
playbooks_python_version.rst | 7 years ago | |
playbooks_reuse.rst | 6 years ago | |
playbooks_reuse_includes.rst | 6 years ago | |
playbooks_reuse_roles.rst | 6 years ago | |
playbooks_roles.rst | 7 years ago | |
playbooks_special_topics.rst | 6 years ago | |
playbooks_startnstep.rst | 7 years ago | |
playbooks_strategies.rst | 6 years ago | |
playbooks_tags.rst | 6 years ago | |
playbooks_templating.rst | 6 years ago | |
playbooks_tests.rst | 6 years ago | |
playbooks_variables.rst | 6 years ago | |
playbooks_vault.rst | 7 years ago | |
plugin_filtering_config.rst | 6 years ago | |
quickstart.rst | 6 years ago | |
vault.rst | 6 years ago | |
windows.rst | 7 years ago | |
windows_dsc.rst | 6 years ago | |
windows_faq.rst | 6 years ago | |
windows_setup.rst | 6 years ago | |
windows_usage.rst | 6 years ago | |
windows_winrm.rst | 6 years ago |