mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
Travis file cleanup (#13)
* Adds inventory * Fix interpreter * connection
This commit is contained in:
committed by
GitHub
parent
c865c8c8c1
commit
c73a245f90
@@ -24,9 +24,10 @@ install:
|
||||
- docker exec -it openshift cat /var/lib/origin/openshift.local.config/master/admin.kubeconfig >tests/konfig.json
|
||||
|
||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
- echo "localhost ansible_connection=local ansible_python_interpreter=$(which python)">tests/inventory
|
||||
|
||||
script:
|
||||
- ansible-playbook -vvv tests/test.yml
|
||||
- ansible-playbook -i tests/inventory -vvv tests/test.yml
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
|
||||
1
tests/inventory
Normal file
1
tests/inventory
Normal file
@@ -0,0 +1 @@
|
||||
localhost ansible_connection=local
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
- name: Load the modules
|
||||
hosts: localhost
|
||||
connection: local
|
||||
hosts: all
|
||||
gather_facts: no
|
||||
vars:
|
||||
os_kubeconfig: konfig.json
|
||||
|
||||
Reference in New Issue
Block a user