diff --git a/.yamllint b/.yamllint index c9aab08..3a49cd8 100644 --- a/.yamllint +++ b/.yamllint @@ -1,6 +1,11 @@ --- extends: default + rules: line-length: max: 150 level: warning + +ignore: | + .github/stale.yml + .travis.yml diff --git a/tasks/kubelet-setup.yml b/tasks/kubelet-setup.yml index 05a4622..be6f57e 100644 --- a/tasks/kubelet-setup.yml +++ b/tasks/kubelet-setup.yml @@ -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. diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index fd7666d..fffcd39 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -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 }}" diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 2d07fa5..4a83a58 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -23,3 +23,4 @@ template: src: apt-preferences-kubernetes.j2 dest: /etc/apt/preferences.d/kubernetes + mode: 0644