Commit 8990be4c by Han Su Kim

Pulling out backup server-var.yml

parent 508ec3a3
......@@ -33,17 +33,7 @@
src={{ edx_ansible_code_dir }}/playbooks
dest={{ COMMON_CFG_DIR }}/playbooks
state=link
- name: check to see if server vars already exists
stat: path={{ edx_ansible_var_file }}
register: edx_ansible_var_file_exists
- name: create backup of server vars
copy: >
path={{ edx_ansible_var_file }}.old
backup=yes
when: edx_ansible_var_file_exists.stat.exists
- 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