Fix linting errors
parent
6873913124
commit
ca7c25b81c
|
@ -49,6 +49,7 @@
|
||||||
path: ~{{ ansible_user }}/.kube
|
path: ~{{ ansible_user }}/.kube
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ ansible_user }}"
|
owner: "{{ ansible_user }}"
|
||||||
|
mode: "u=rwx,g=rx,o="
|
||||||
|
|
||||||
- name: Copy config file to user home directory
|
- name: Copy config file to user home directory
|
||||||
copy:
|
copy:
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
dest: ~{{ ansible_user }}/.kube/config
|
dest: ~{{ ansible_user }}/.kube/config
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
owner: "{{ ansible_user }}"
|
owner: "{{ ansible_user }}"
|
||||||
|
mode: "u=rw,g=,o="
|
||||||
|
|
||||||
- name: Replace https://localhost:6443 by https://master-ip:6443
|
- name: Replace https://localhost:6443 by https://master-ip:6443
|
||||||
command: >-
|
command: >-
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
copy:
|
copy:
|
||||||
content: "br_netfilter"
|
content: "br_netfilter"
|
||||||
dest: /etc/modules-load.d/br_netfilter.conf
|
dest: /etc/modules-load.d/br_netfilter.conf
|
||||||
|
mode: "u=rw,g=,o="
|
||||||
when: ansible_distribution in ['CentOS', 'Red Hat Enterprise Linux']
|
when: ansible_distribution in ['CentOS', 'Red Hat Enterprise Linux']
|
||||||
|
|
||||||
- name: Load br_netfilter
|
- name: Load br_netfilter
|
||||||
|
|
Loading…
Reference in New Issue