mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Fix linting issues.
This commit is contained in:
parent
69db957c4b
commit
2273824910
@ -1,6 +1,11 @@
|
|||||||
---
|
---
|
||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
line-length:
|
line-length:
|
||||||
max: 150
|
max: 150
|
||||||
level: warning
|
level: warning
|
||||||
|
|
||||||
|
ignore: |
|
||||||
|
.github/stale.yml
|
||||||
|
.travis.yml
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
line: '{{ kubelet_args_line }}'
|
line: '{{ kubelet_args_line }}'
|
||||||
regexp: '{{ kubelet_args_regexp }}'
|
regexp: '{{ kubelet_args_regexp }}'
|
||||||
state: present
|
state: present
|
||||||
|
mode: 0644
|
||||||
register: kubelet_config_file
|
register: kubelet_config_file
|
||||||
|
|
||||||
- name: Reload systemd unit if args were changed.
|
- name: Reload systemd unit if args were changed.
|
||||||
|
@ -20,12 +20,14 @@
|
|||||||
file:
|
file:
|
||||||
path: ~/.kube
|
path: ~/.kube
|
||||||
state: directory
|
state: directory
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Symlink the kubectl admin.conf to ~/.kube/conf.
|
- name: Symlink the kubectl admin.conf to ~/.kube/conf.
|
||||||
file:
|
file:
|
||||||
src: /etc/kubernetes/admin.conf
|
src: /etc/kubernetes/admin.conf
|
||||||
dest: ~/.kube/config
|
dest: ~/.kube/config
|
||||||
state: link
|
state: link
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: Configure Flannel networking.
|
- name: Configure Flannel networking.
|
||||||
command: "{{ item }}"
|
command: "{{ item }}"
|
||||||
|
@ -23,3 +23,4 @@
|
|||||||
template:
|
template:
|
||||||
src: apt-preferences-kubernetes.j2
|
src: apt-preferences-kubernetes.j2
|
||||||
dest: /etc/apt/preferences.d/kubernetes
|
dest: /etc/apt/preferences.d/kubernetes
|
||||||
|
mode: 0644
|
||||||
|
Loading…
Reference in New Issue
Block a user