Incorrect procedure for using ansible vault for automated platform backup (dsr8mr3, dsr8mr2+)
Fixed the instruction to use override_files_dir Change-Id: I1bd59fb1f0e83cf2b3279087d884c87547e9611f Signed-off-by: Ngairangbam Mili <ngairangbam.mili@windriver.com>
This commit is contained in:
parent
7dc8f326fe
commit
b30cbe2821
@ -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
|
using the ``-e`` option on the command line, with an override file secured with
|
||||||
ansible-vault (recommended).
|
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
|
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.
|
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
|
.. code-block:: none
|
||||||
|
|
||||||
ansible_become_pass: "<admin_password>"
|
ansible_become_pass: "<admin_password>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user