diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-01-13 14:29:48 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-01-17 10:47:16 -0500 |
commit | ea33e223e34bb2b8efae6b165f3ac9729357cb46 (patch) | |
tree | 73c704561e5896835b1fcfbf281a7c700bfa4ee3 /roles/lib_openshift/src/test/integration/route.yml | |
parent | 07331b47724dbb7cd6952c1a2af54275ace7726e (diff) | |
download | openshift-ea33e223e34bb2b8efae6b165f3ac9729357cb46.tar.gz openshift-ea33e223e34bb2b8efae6b165f3ac9729357cb46.tar.bz2 openshift-ea33e223e34bb2b8efae6b165f3ac9729357cb46.tar.xz openshift-ea33e223e34bb2b8efae6b165f3ac9729357cb46.zip |
Adding oc_edit module to lib_openshift.
Diffstat (limited to 'roles/lib_openshift/src/test/integration/route.yml')
-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 |