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
b1a0f2e0
Commit
b1a0f2e0
authored
5 years ago
by
kaliraja
Browse files
Options
Download
Patches
Plain Diff
created the new playbook for es restore
parent
7303d319
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/es-restore.yml
+25
-0
ansible/es-restore.yml
ansible/es.yml
+1
-30
ansible/es.yml
with
26 additions
and
30 deletions
+26
-30
ansible/es-restore.yml
0 → 100644
+
25
−
0
View file @
b1a0f2e0
-
hosts
:
"
{{remote}}"
gather_facts
:
no
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
:
no
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.
ansible/es.yml
+
1
−
30
View file @
b1a0f2e0
-
hosts
:
es-backup
gather_facts
:
no
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
...
...
@@ -12,21 +11,7 @@
tags
:
-
es_backup
-
hosts
:
"
{{remote}}"
gather_facts
:
no
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
:
no
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
...
...
@@ -35,25 +20,11 @@
-
snapshot_base_path
:
"
{{log_snapshot_base_path}}"
roles
:
-
es-azure-snapshot
-
es
2
-snapshot-purge
-
es
5
-snapshot-purge
tags
:
-
log_es_backup
-
hosts
:
"
{{remote}}"
gather_facts
:
no
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
:
no
become
:
yes
vars_files
:
-
[
'
{{inventory_dir}}/secrets.yml'
,
'
secrets/{{env}}.yml'
]
...
...
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