rename task
parent
2cda982345
commit
1eaf0e1c63
|
@ -195,7 +195,7 @@
|
||||||
when: secret_changed|default(false) or etcd_secret_changed|default(false)
|
when: secret_changed|default(false) or etcd_secret_changed|default(false)
|
||||||
notify: restart calico-node
|
notify: restart calico-node
|
||||||
|
|
||||||
- name: Lay Down calico-node RBAC Template
|
- name: Calico | Lay Down calico-node RBAC Template
|
||||||
template:
|
template:
|
||||||
src: "{{item.file}}"
|
src: "{{item.file}}"
|
||||||
dest: "{{kube_config_dir}}/{{item.file}}"
|
dest: "{{kube_config_dir}}/{{item.file}}"
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
register: manifests
|
register: manifests
|
||||||
when: inventory_hostname == groups['kube-master'][0] and rbac_enabled
|
when: inventory_hostname == groups['kube-master'][0] and rbac_enabled
|
||||||
|
|
||||||
- name: Create calico-node RBAC Resources
|
- name: Calico | Create calico-node RBAC Resources
|
||||||
kube:
|
kube:
|
||||||
name: "{{item.item.name}}"
|
name: "{{item.item.name}}"
|
||||||
namespace: "{{ system_namespace }}"
|
namespace: "{{ system_namespace }}"
|
||||||
|
|
Loading…
Reference in New Issue