Merge "Incorrect procedure for using ansible vault for automated platform backup (dsr8mr3, dsr8mr2+)"
This commit is contained in:
commit
2d657c520f
@ -120,11 +120,21 @@ The <admin_password> and <ansible_become_pass> need to be set correctly
|
||||
using the ``-e`` option on the command line, with an override file secured with
|
||||
ansible-vault (recommended).
|
||||
|
||||
For example, create your override file with the :command:`ansible-vault create $HOME/override_dir/localhost-backup.yaml`
|
||||
For example, create your override file with the :command:`ansible-vault create $HOME/override_dir/secrets.yml`
|
||||
command and copy the following lines into the file. You will be prompted for a
|
||||
password to protect/encrypt the file. Use the :command:`ansible-vault edit $HOME/override_dir/localhost-backup.yaml`
|
||||
password to protect/encrypt the file. Use the :command:`ansible-vault edit $HOME/override_dir/secrets.yml`
|
||||
command if the file needs to be edited after it is created.
|
||||
|
||||
The following yaml names are allowed:
|
||||
|
||||
- ``{{ override_files_dir }}/secrets.yml``
|
||||
|
||||
- ``{{ override_files_dir }}/{{ inventory_hostname }}_secrets.yml``
|
||||
|
||||
- ``{{ override_files_dir }}/site.yml``
|
||||
|
||||
- ``{{ override_files_dir }}/{{ inventory_hostname }}.yml``
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
ansible_become_pass: "<admin_password>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user