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 extends: default
rules: rules:
line-length: line-length:
max: 150 max: 150
level: warning level: warning
ignore: |
.github/stale.yml
.travis.yml

View File

@ -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.

View File

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

View File

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