1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs/docsite/rst
Keith Maxwell 7fbacf920d Remove misleading statement passwords must be same (#49798)
* 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
2019-02-12 10:47:01 -05:00
..
api link from API stub page to module_utils page (#49831) 2018-12-12 14:20:42 -06:00
community mention ansible-lint and editor tools that help with playbook development (#51769) 2019-02-06 14:56:52 -06:00
dev_guide standardize connection variable names (#51776) 2019-02-11 10:43:10 -05:00
installation_guide Become plugins (#50991) 2019-02-11 11:27:44 -06:00
inventory Update implicit_localhost.rst (#45455) 2018-09-11 15:17:50 -05:00
network standardize connection variable names (#51776) 2019-02-11 10:43:10 -05:00
plugins Become plugins (#50991) 2019-02-11 11:27:44 -06:00
porting_guides VMware: Handle duplicate VM names in vmware_vm_facts (#45412) 2019-02-12 16:31:42 +05:30
reference_appendices added pipelining for z/OS (#51212) 2019-01-25 10:42:54 -05:00
roadmap Toshio is now release manager for 2.8 and future 2.6 (#51452) 2019-01-29 18:05:59 -06:00
scenario_guides standardize connection variable names (#51776) 2019-02-11 10:43:10 -05:00
user_guide Remove misleading statement passwords must be same (#49798) 2019-02-12 10:47:01 -05:00
vmware VMware: Fix vmware_vm_inventory (#50592) 2019-01-11 21:33:14 +05:30
conf.py Pull documentation of ansible.module_utils.basic from (improved) doc strings. (#48416) 2018-12-10 09:17:15 -06:00
index.rst updates language about documentation versions and releases on index page (#46465) 2018-10-04 15:26:37 -04:00