Add explicit name printing in task names for deletgated task during
cert creation
This commit is contained in:
parent
707e6a4642
commit
d9fb51b046
3 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
owner=root
|
||||
recurse=yes
|
||||
|
||||
- name: Gen_certs | create etcd script dir
|
||||
- name: "Gen_certs | create etcd script dir (on {{groups['etcd'][0]}})"
|
||||
file:
|
||||
path: "{{ etcd_script_dir }}"
|
||||
state: directory
|
||||
|
@ -15,7 +15,7 @@
|
|||
run_once: yes
|
||||
delegate_to: "{{groups['etcd'][0]}}"
|
||||
|
||||
- name: Gen_certs | create etcd cert dir (on first etcd)
|
||||
- name: "Gen_certs | create etcd cert dir (on {{groups['etcd'][0]}})"
|
||||
file:
|
||||
path={{ etcd_cert_dir }}
|
||||
group={{ etcd_cert_group }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: Gen_certs | Create kubernetes config directory (on master[0])
|
||||
- name: "Gen_certs | Create kubernetes config directory (on {{groups['kube-master'][0]}})"
|
||||
file:
|
||||
path: "{{ kube_config_dir }}"
|
||||
state: directory
|
||||
|
@ -9,7 +9,7 @@
|
|||
tags: [kubelet, k8s-secrets, kube-controller-manager, kube-apiserver, bootstrap-os, apps, network, master, node]
|
||||
when: gen_certs|default(false)
|
||||
|
||||
- name: Gen_certs | Create kubernetes script directory (on master[0])
|
||||
- name: "Gen_certs | Create kubernetes script directory (on {{groups['kube-master'][0]}})"
|
||||
file:
|
||||
path: "{{ kube_script_dir }}"
|
||||
state: directory
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
# exist on the first master for cases where the first master isn't
|
||||
# being run.
|
||||
#
|
||||
- name: Gen_certs | Create kubernetes config directory (on master[0])
|
||||
- name: "Gen_certs | Create kubernetes config directory (on {{groups['kube-master'][0]}})"
|
||||
file:
|
||||
path: "{{ kube_config_dir }}"
|
||||
state: directory
|
||||
|
@ -50,7 +50,7 @@
|
|||
tags: [kubelet, k8s-secrets, kube-controller-manager, kube-apiserver, bootstrap-os, apps, network, master, node]
|
||||
when: gen_certs|default(false) or gen_tokens|default(false)
|
||||
|
||||
- name: Gen_certs | Create kubernetes script directory (on master[0])
|
||||
- name: "Gen_certs | Create kubernetes script directory (on {{groups['kube-master'][0]}})"
|
||||
file:
|
||||
path: "{{ kube_script_dir }}"
|
||||
state: directory
|
||||
|
@ -60,7 +60,7 @@
|
|||
tags: [k8s-secrets, bootstrap-os]
|
||||
when: gen_certs|default(false) or gen_tokens|default(false)
|
||||
|
||||
- name: Get_tokens | Make sure the tokens directory exits (on master[0])
|
||||
- name: "Get_tokens | Make sure the tokens directory exits (on {{groups['kube-master'][0]}})"
|
||||
file:
|
||||
path={{ kube_token_dir }}
|
||||
state=directory
|
||||
|
|
Loading…
Reference in a new issue