community.general/lib/ansible/cli
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
..
arguments Become plugins (#50991) 2019-02-11 11:27:44 -06:00
__init__.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
adhoc.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
config.py Cleanups and fixes to cli 2019-01-03 18:12:23 -08:00
console.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
doc.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
galaxy.py [WIP] force install role and its deps (#49347) 2019-01-23 12:34:26 -05:00
inventory.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
playbook.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
pull.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
vault.py Remove misleading statement passwords must be same (#49798) 2019-02-12 10:47:01 -05:00