Created
September 16, 2018 20:14
-
-
Save jamesfalkner/149a20a5e426953bc8379afc8f7f61d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install Apache HTTPD container | |
hosts: localhost | |
tasks: | |
- command: oc new-project webserver | |
- command: oc new-app httpd | |
- command: oc expose svc/httpd | |
- command: oc get route/httpd -n webserver -o jsonpath='{.spec.host}' | |
register: route | |
- debug: var=route |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment