Add simple module test

This commit is contained in:
Chris Houseknecht
2017-10-11 13:15:16 -04:00
parent 3797eb3148
commit 1b9adeaf5e
4 changed files with 48 additions and 9 deletions

View File

@@ -1,9 +1,23 @@
---
- hosts: localhost
remote_user: root
- hosts: all
gather_facts: no
vars:
kubeconfig: ../konfig.json
host: localhost:8443
verify_ssl: False
roles:
- role: ansible-kubernetes-modules
install_python_requirements: no
- role: hello-world
- role: hello-templates
- role: hello-world
os_kubeconfig: '{{ kubeconfig }}'
os_host: '{{ host }}'
os_verify_ssl: '{{ verify_ssl }}'
# - role: hello-templates
# kubeconfig: '{{ kubeconfig }}'
# host: '{{ host }}'
# verify_ssl: '{{ verify_ssl }}'