Fix boolean on Debian setup, add more tests.

This commit is contained in:
Jeff Geerling 2018-09-27 23:30:25 -05:00
parent fad8281b98
commit 0379cc47db
2 changed files with 18 additions and 1 deletions

View File

@ -27,3 +27,20 @@
roles:
- role: geerlingguy.docker
- role: geerlingguy.kubernetes
post_tasks:
- name: Get cluster info.
command: kubectl cluster-info
changed_when: false
register: kubernetes_info
- name: Print cluster info.
debug: var=kubernetes_info.stdout
- name: Get all running pods.
command: kubectl get pods --all-namespaces
changed_when: false
register: kubernetes_pods
- name: Print list of running pods.
debug: var=kubernetes_pods.stdout

View File

@ -17,7 +17,7 @@
apt_repository:
repo: "{{ kubernetes_apt_repository }}"
state: present
update_cache: false
update_cache: true
- name: Add Kubernetes apt preferences file to pin a version.
template: