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
f07e24db
Unverified
Commit
f07e24db
authored
4 years ago
by
Hari Hud
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup duplicate task in etcd role (#7598)
* Remove the duplicate task in etcd role * Remove inessential delegate_to
parent
5d5be3e9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/etcd/tasks/gen_certs_script.yml
+0
-14
0 additions, 14 deletions
roles/etcd/tasks/gen_certs_script.yml
with
0 additions
and
14 deletions
roles/etcd/tasks/gen_certs_script.yml
+
0
−
14
View file @
f07e24db
...
@@ -16,19 +16,6 @@
...
@@ -16,19 +16,6 @@
mode
:
0700
mode
:
0700
run_once
:
yes
run_once
:
yes
when
:
inventory_hostname == groups['etcd'][0]
when
:
inventory_hostname == groups['etcd'][0]
delegate_to
:
"
{{
groups['etcd'][0]
}}"
-
name
:
"
Gen_certs
|
create
etcd
cert
dir
(on
{{
groups['etcd'][0]
}})"
file
:
path
:
"
{{
etcd_cert_dir
}}"
group
:
"
{{
etcd_cert_group
}}"
state
:
directory
owner
:
kube
recurse
:
yes
mode
:
0700
run_once
:
yes
when
:
inventory_hostname == groups['etcd'][0]
delegate_to
:
"
{{
groups['etcd'][0]
}}"
-
name
:
Gen_certs | write openssl config
-
name
:
Gen_certs | write openssl config
template
:
template
:
...
@@ -46,7 +33,6 @@
...
@@ -46,7 +33,6 @@
dest
:
"
{{
etcd_script_dir
}}/make-ssl-etcd.sh"
dest
:
"
{{
etcd_script_dir
}}/make-ssl-etcd.sh"
mode
:
0700
mode
:
0700
run_once
:
yes
run_once
:
yes
delegate_to
:
"
{{
groups['etcd'][0]
}}"
when
:
when
:
-
gen_certs|default(false)
-
gen_certs|default(false)
-
inventory_hostname == groups['etcd'][0]
-
inventory_hostname == groups['etcd'][0]
...
...
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