Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
9409bbc4
Commit
9409bbc4
authored
5 years ago
by
S M Y
Browse files
Options
Download
Patches
Plain Diff
Moving backup and restore to separate playbook file
parent
34b0d93f
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/es.yml
+0
-26
ansible/es.yml
ansible/esrestore.yml
+25
-0
ansible/esrestore.yml
with
25 additions
and
26 deletions
+25
-26
ansible/es.yml
+
0
−
26
View file @
9409bbc4
...
...
@@ -12,19 +12,6 @@
tags
:
-
es_backup
-
hosts
:
"
{{remote}}"
gather_facts
:
yes
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
vars
:
-
es_restore_host
:
"
{{remote}}"
-
snapshot_base_path
:
"
{{app_snapshot_base_path}}"
roles
:
-
es-azure-restore
tags
:
-
es_restore
-
hosts
:
log-es-backup
gather_facts
:
yes
become
:
yes
...
...
@@ -39,19 +26,6 @@
tags
:
-
log_es_backup
-
hosts
:
"
{{remote}}"
gather_facts
:
yes
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
vars
:
-
es_restore_host
:
"
{{remote}}"
-
snapshot_base_path
:
"
{{log_snapshot_base_path}}"
roles
:
-
es-azure-restore
tags
:
-
log_es_restore
-
hosts
:
log-es
gather_facts
:
yes
become
:
yes
...
...
This diff is collapsed.
Click to expand it.
ansible/esrestore.yml
0 → 100644
+
25
−
0
View file @
9409bbc4
-
hosts
:
"
{{remote}}"
gather_facts
:
yes
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
vars
:
-
es_restore_host
:
"
{{remote}}"
-
snapshot_base_path
:
"
{{app_snapshot_base_path}}"
roles
:
-
es-azure-restore
tags
:
-
es_restore
-
hosts
:
"
{{remote}}"
gather_facts
:
yes
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
vars
:
-
es_restore_host
:
"
{{remote}}"
-
snapshot_base_path
:
"
{{log_snapshot_base_path}}"
roles
:
-
es-azure-restore
tags
:
-
log_es_restore
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets