Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
90359ba0
Commit
90359ba0
authored
Jun 19, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1166 from dhpollack/dhpollack/servervarsbackup
make backup of previous server-vars.yml
parents
67a65be8
317163d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
playbooks/roles/edx_ansible/tasks/deploy.yml
+6
-0
No files found.
playbooks/roles/edx_ansible/tasks/deploy.yml
View file @
90359ba0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment