added some debug to the zagg deployer
- set_fact:
zagg_pods_running: "{{ podlist.results | get_running_pods(['oso-rhel7-zagg-web']) }}"
+ - name: debug the podlist
+ debug:
+ msg: "{{ zagg_pods_running}}"
+
- name: create app from template
oc_process:
namespace: default
content: "{{ lookup('template', 'templates/zagg.yml.j2') }}"
create: True
reconcile: True
+ register: zagg_oc_process
when: '{{ zagg_pods_running | length }} < 2'
+ - name: debug the zagg_oc_process
+ debug:
+ msg: "{{ zagg_oc_process }}"
+
- name: get oc version
oc_version:
register: l_oc_version
