Fix linting issues.

This commit is contained in:
Jeff Geerling 2020-08-20 12:23:45 -05:00
parent 69db957c4b
commit 2273824910
4 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,11 @@
---
extends: default
rules:
line-length:
max: 150
level: warning
ignore: |
.github/stale.yml
.travis.yml

View File

@ -24,6 +24,7 @@
line: '{{ kubelet_args_line }}'
regexp: '{{ kubelet_args_regexp }}'
state: present
mode: 0644
register: kubelet_config_file
- name: Reload systemd unit if args were changed.

View File

@ -20,12 +20,14 @@
file:
path: ~/.kube
state: directory
mode: 0755
- name: Symlink the kubectl admin.conf to ~/.kube/conf.
file:
src: /etc/kubernetes/admin.conf
dest: ~/.kube/config
state: link
mode: 0644
- name: Configure Flannel networking.
command: "{{ item }}"

View File

@ -23,3 +23,4 @@
template:
src: apt-preferences-kubernetes.j2
dest: /etc/apt/preferences.d/kubernetes
mode: 0644