From 4de5e1941acd296900364013be17f64486a1b6b9 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sun, 7 Jul 2019 22:29:37 -0500 Subject: [PATCH] Fixes #55: Support and test Debian 10 Buster. --- .ansible-lint | 1 + .travis.yml | 1 + README.md | 4 ++-- meta/main.yml | 2 ++ tasks/master-setup.yml | 6 +++--- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 4778564..cb73159 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,2 +1,3 @@ skip_list: - '306' + - '405' diff --git a/.travis.yml b/.travis.yml index e408915..1bb8486 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: - MOLECULE_DISTRO: centos7 - MOLECULE_DISTRO: ubuntu1804 - MOLECULE_DISTRO: debian9 + - MOLECULE_DISTRO: debian10 install: # Install test dependencies. diff --git a/README.md b/README.md index c878573..2537ea7 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ None. - hosts: all vars: - kubernetes_allow_pods_on_master: True + kubernetes_allow_pods_on_master: true roles: - geerlingguy.docker @@ -112,7 +112,7 @@ Playbook: - hosts: all vars: - kubernetes_allow_pods_on_master: True + kubernetes_allow_pods_on_master: true roles: - geerlingguy.docker diff --git a/meta/main.yml b/meta/main.yml index 992eac3..d216375 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -11,9 +11,11 @@ galaxy_info: - name: EL versions: - 7 + - 8 - name: Debian versions: - stretch + - buster - name: Ubuntu versions: - xenial diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index c6631c7..306acda 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -42,7 +42,7 @@ - name: Allow pods on master node (if configured). command: "kubectl taint nodes --all node-role.kubernetes.io/master-" when: - - kubernetes_allow_pods_on_master + - kubernetes_allow_pods_on_master | bool - not kubernetes_init_stat.stat.exists - name: Check if Kubernetes Dashboard UI service already exists. @@ -50,10 +50,10 @@ changed_when: false failed_when: false register: kubernetes_dashboard_service - when: kubernetes_enable_web_ui + when: kubernetes_enable_web_ui | bool - name: Enable the Kubernetes Web Dashboard UI (if configured). command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}" when: - - kubernetes_enable_web_ui + - kubernetes_enable_web_ui | bool - kubernetes_dashboard_service is failed