Fixes #55: Support and test Debian 10 Buster.

This commit is contained in:
Jeff Geerling 2019-07-07 22:29:37 -05:00
parent 05d1d94e3b
commit 4de5e1941a
5 changed files with 9 additions and 5 deletions

View File

@ -1,2 +1,3 @@
skip_list:
- '306'
- '405'

View File

@ -9,6 +9,7 @@ env:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: debian9
- MOLECULE_DISTRO: debian10
install:
# Install test dependencies.

View File

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

View File

@ -11,9 +11,11 @@ galaxy_info:
- name: EL
versions:
- 7
- 8
- name: Debian
versions:
- stretch
- buster
- name: Ubuntu
versions:
- xenial

View File

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