Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
a7cd0860
Commit
a7cd0860
authored
7 years ago
by
Brad Beam
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1384 from gdmello/etcd_backup_dir_fix
Make etcd_backup_prefix configurable.
parents
854cd1a5
3123502f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/etcd/defaults/main.yml
+1
-0
1 addition, 0 deletions
roles/etcd/defaults/main.yml
roles/etcd/handlers/backup.yml
+0
-5
0 additions, 5 deletions
roles/etcd/handlers/backup.yml
with
1 addition
and
5 deletions
roles/etcd/defaults/main.yml
+
1
−
0
View file @
a7cd0860
...
...
@@ -2,6 +2,7 @@
# Set to false to only do certificate management
etcd_cluster_setup
:
true
etcd_backup_prefix
:
"
/var/backups"
etcd_bin_dir
:
"
{{
local_release_dir
}}/etcd/etcd-{{
etcd_version
}}-linux-amd64/"
etcd_data_dir
:
"
/var/lib/etcd"
...
...
This diff is collapsed.
Click to expand it.
roles/etcd/handlers/backup.yml
+
0
−
5
View file @
a7cd0860
...
...
@@ -3,7 +3,6 @@
command
:
/bin/true
notify
:
-
Refresh Time Fact
-
Set etcd Backup Directory Prefix
-
Set Backup Directory
-
Create Backup Directory
-
Backup etcd v2 data
...
...
@@ -13,10 +12,6 @@
-
name
:
Refresh Time Fact
setup
:
filter=ansible_date_time
-
name
:
Set etcd Backup Directory Prefix
set_fact
:
etcd_backup_prefix
:
'
/var/backups'
-
name
:
Set Backup Directory
set_fact
:
etcd_backup_directory
:
"
{{
etcd_backup_prefix
}}/etcd-{{
ansible_date_time.date
}}_{{
ansible_date_time.time
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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