diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-01-18 13:39:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 13:39:43 -0500 |
commit | 7a0228f432a0d68bd63a68b940a7913d4a6a7e7c (patch) | |
tree | 351507d1744326f27bcf23e523e0bacc6de2a7fe /roles/lib_openshift/src/test | |
parent | b4d76724b764d0f18ace622bafb9ce390fdd9f19 (diff) | |
parent | 3fd3cd3a07d9f000c8cb8bd1b7a49ac2af675696 (diff) | |
download | openshift-7a0228f432a0d68bd63a68b940a7913d4a6a7e7c.tar.gz openshift-7a0228f432a0d68bd63a68b940a7913d4a6a7e7c.tar.bz2 openshift-7a0228f432a0d68bd63a68b940a7913d4a6a7e7c.tar.xz openshift-7a0228f432a0d68bd63a68b940a7913d4a6a7e7c.zip |
Merge pull request #3092 from kwoodson/lib_openshift_3.3
lib_openshift. This is the initial commit that has oc_route.
Diffstat (limited to 'roles/lib_openshift/src/test')
-rw-r--r-- | roles/lib_openshift/src/test/integration/route.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/roles/lib_openshift/src/test/integration/route.yml b/roles/lib_openshift/src/test/integration/route.yml new file mode 100644 index 000000000..6a96b334f --- /dev/null +++ b/roles/lib_openshift/src/test/integration/route.yml @@ -0,0 +1,58 @@ +#!/usr/bin/ansible-playbook +# ./route.yml -M ../../../library -e "cli_master_test=$OPENSHIFT_MASTER +--- +- hosts: "{{ cli_master_test }}" + gather_facts: no + user: root + tasks: + - name: create route + oc_route: + name: test + namespace: test + tls_termination: edge + cert_content: testing cert + cacert_content: testing cacert + service_name: test + host: test.example + register: routeout + - debug: var=routeout + + - name: get route + oc_route: + state: list + name: test + namespace: default + register: routeout + - debug: var=routeout + + - name: delete route + oc_route: + state: absent + name: test + namespace: default + register: routeout + - debug: var=routeout + + - name: create route + oc_route: + name: test + namespace: test + tls_termination: edge + cert_content: testing cert + cacert_content: testing cacert + service_name: test + host: test.example + register: routeout + - debug: var=routeout + + - name: create route noop + oc_route: + name: test + namespace: test + tls_termination: edge + cert_content: testing cert + cacert_content: testing cacert + service_name: test + host: test.example + register: routeout + - debug: var=routeout |