
This change move tasks to dedicated files to improve the readability of the run playbooks. Change-Id: Iaf4829daf5f89f22b200d089ef8fd4eeee3e91bf
10 lines
259 B
YAML
10 lines
259 B
YAML
- name: Get preview service ip
|
|
command: kubectl get svc preview -o "jsonpath={.spec.clusterIP}"
|
|
register: _preview_ip
|
|
|
|
- name: Connect to the preview service
|
|
uri:
|
|
url: "http://{{ _preview_ip.stdout_lines[0] }}"
|
|
method: POST
|
|
status_code: 403
|