Commit 90359ba0 by John Jarvis

Merge pull request #1166 from dhpollack/dhpollack/servervarsbackup

make backup of previous server-vars.yml
parents 67a65be8 317163d0
......@@ -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