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.
* 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 |
7 years ago | |
|---|---|---|
| .. | ||
| shared_snippets | 8 years ago | |
| become.rst | 7 years ago | |
| command_line_tools.rst | 7 years ago | |
| index.rst | 8 years ago | |
| intro.rst | 7 years ago | |
| intro_adhoc.rst | 7 years ago | |
| intro_bsd.rst | 7 years ago | |
| intro_dynamic_inventory.rst | 7 years ago | |
| intro_getting_started.rst | 7 years ago | |
| intro_inventory.rst | 7 years ago | |
| intro_patterns.rst | 8 years ago | |
| intro_windows.rst | 8 years ago | |
| modules.rst | 8 years ago | |
| modules_intro.rst | 8 years ago | |
| modules_support.rst | 7 years ago | |
| playbook_pathing.rst | 7 years ago | |
| playbooks.rst | 7 years ago | |
| playbooks_advanced_syntax.rst | 7 years ago | |
| playbooks_async.rst | 7 years ago | |
| playbooks_best_practices.rst | 7 years ago | |
| playbooks_blocks.rst | 7 years ago | |
| playbooks_checkmode.rst | 8 years ago | |
| playbooks_conditionals.rst | 7 years ago | |
| playbooks_debugger.rst | 7 years ago | |
| playbooks_delegation.rst | 7 years ago | |
| playbooks_environment.rst | 7 years ago | |
| playbooks_error_handling.rst | 7 years ago | |
| playbooks_filters.rst | 7 years ago | |
| playbooks_filters_ipaddr.rst | 7 years ago | |
| playbooks_intro.rst | 7 years ago | |
| playbooks_lookups.rst | 8 years ago | |
| playbooks_loops.rst | 7 years ago | |
| playbooks_module_defaults.rst | 7 years ago | |
| playbooks_prompts.rst | 7 years ago | |
| playbooks_python_version.rst | 8 years ago | |
| playbooks_reuse.rst | 7 years ago | |
| playbooks_reuse_includes.rst | 7 years ago | |
| playbooks_reuse_roles.rst | 7 years ago | |
| playbooks_roles.rst | 8 years ago | |
| playbooks_special_topics.rst | 7 years ago | |
| playbooks_startnstep.rst | 8 years ago | |
| playbooks_strategies.rst | 7 years ago | |
| playbooks_tags.rst | 7 years ago | |
| playbooks_templating.rst | 7 years ago | |
| playbooks_tests.rst | 7 years ago | |
| playbooks_variables.rst | 7 years ago | |
| playbooks_vault.rst | 8 years ago | |
| plugin_filtering_config.rst | 7 years ago | |
| quickstart.rst | 7 years ago | |
| vault.rst | 7 years ago | |
| windows.rst | 8 years ago | |
| windows_dsc.rst | 7 years ago | |
| windows_faq.rst | 7 years ago | |
| windows_setup.rst | 7 years ago | |
| windows_usage.rst | 7 years ago | |
| windows_winrm.rst | 7 years ago | |