f80fd24a55
When running ansible-lint directly, we can see a lot of warning message like risky-file-permissions File permissions unset or incorrect This fixes the warning messages.
21 lines
793 B
YAML
21 lines
793 B
YAML
---
|
|
- name: Multus | Copy manifest files
|
|
copy:
|
|
src: "{{ item.file }}"
|
|
dest: "{{ kube_config_dir }}"
|
|
mode: 0644
|
|
with_items:
|
|
- {name: multus-crd, file: multus-crd.yml, type: customresourcedefinition}
|
|
- {name: multus-serviceaccount, file: multus-serviceaccount.yml, type: serviceaccount}
|
|
- {name: multus-clusterrole, file: multus-clusterrole.yml, type: clusterrole}
|
|
- {name: multus-clusterrolebinding, file: multus-clusterrolebinding.yml, type: clusterrolebinding}
|
|
register: multus_manifest_1
|
|
|
|
- name: Multus | Copy manifest templates
|
|
template:
|
|
src: "{{ item.file }}.j2"
|
|
dest: "{{ kube_config_dir }}/{{ item.file }}"
|
|
mode: 0644
|
|
with_items:
|
|
- {name: multus-daemonset, file: multus-daemonset.yml, type: daemonset}
|
|
register: multus_manifest_2
|