Added "clear-firewall" role Depends-On: https://review.opendev.org/672786 Change-Id: I08169182c1fd3809f8547a5efe6ead927ede36b3
15 lines
383 B
YAML
15 lines
383 B
YAML
- name: View Status of K8s Pods
|
|
hosts: all
|
|
|
|
tasks:
|
|
- name: Get pods
|
|
command: kubectl get pods
|
|
|
|
- name: Get logs from ansible container
|
|
command: kubectl logs -l name=zuul-operator -c ansible
|
|
|
|
- name: Get logs from operator container
|
|
command: kubectl logs -l name=zuul-operator -c operator
|
|
|
|
- name: Log all Events
|
|
command: kubectl get events |