Commit 317163d0 by OpenShift guest

make backup of previous server-vars.yml

parent bc23df7c
......@@ -34,6 +34,12 @@
dest={{ COMMON_CFG_DIR }}/playbooks
state=link
- name: create backup of server vars
copy: >
src={{ edx_ansible_var_file }}
dest={{ edx_ansible_var_file }}.old
when: EDX_ANSIBLE_DUMP_VARS
- name: dump all vars to yaml
template: src=dumpall.yml.j2 dest={{ edx_ansible_var_file }} mode=0600
when: EDX_ANSIBLE_DUMP_VARS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment