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: skip_list:
- '306' - '306'
- '405'

View File

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

View File

@ -85,7 +85,7 @@ None.
- hosts: all - hosts: all
vars: vars:
kubernetes_allow_pods_on_master: True kubernetes_allow_pods_on_master: true
roles: roles:
- geerlingguy.docker - geerlingguy.docker
@ -112,7 +112,7 @@ Playbook:
- hosts: all - hosts: all
vars: vars:
kubernetes_allow_pods_on_master: True kubernetes_allow_pods_on_master: true
roles: roles:
- geerlingguy.docker - geerlingguy.docker

View File

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

View File

@ -42,7 +42,7 @@
- name: Allow pods on master node (if configured). - name: Allow pods on master node (if configured).
command: "kubectl taint nodes --all node-role.kubernetes.io/master-" command: "kubectl taint nodes --all node-role.kubernetes.io/master-"
when: when:
- kubernetes_allow_pods_on_master - kubernetes_allow_pods_on_master | bool
- not kubernetes_init_stat.stat.exists - not kubernetes_init_stat.stat.exists
- name: Check if Kubernetes Dashboard UI service already exists. - name: Check if Kubernetes Dashboard UI service already exists.
@ -50,10 +50,10 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
register: kubernetes_dashboard_service register: kubernetes_dashboard_service
when: kubernetes_enable_web_ui when: kubernetes_enable_web_ui | bool
- name: Enable the Kubernetes Web Dashboard UI (if configured). - name: Enable the Kubernetes Web Dashboard UI (if configured).
command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}" command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}"
when: when:
- kubernetes_enable_web_ui - kubernetes_enable_web_ui | bool
- kubernetes_dashboard_service is failed - kubernetes_dashboard_service is failed