mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Fixes #55: Support and test Debian 10 Buster.
This commit is contained in:
parent
05d1d94e3b
commit
4de5e1941a
@ -1,2 +1,3 @@
|
||||
skip_list:
|
||||
- '306'
|
||||
- '405'
|
||||
|
@ -9,6 +9,7 @@ env:
|
||||
- MOLECULE_DISTRO: centos7
|
||||
- MOLECULE_DISTRO: ubuntu1804
|
||||
- MOLECULE_DISTRO: debian9
|
||||
- MOLECULE_DISTRO: debian10
|
||||
|
||||
install:
|
||||
# Install test dependencies.
|
||||
|
@ -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
|
||||
|
@ -11,9 +11,11 @@ galaxy_info:
|
||||
- name: EL
|
||||
versions:
|
||||
- 7
|
||||
- 8
|
||||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- buster
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- xenial
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user