rename task

pull/1382/head
jwfang 2017-07-07 17:30:41 +08:00
parent 2cda982345
commit 1eaf0e1c63
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}"