openshift: add temp debug statement

Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
Mark O Brien 2022-02-02 11:41:11 +00:00
parent eb214ec436
commit 45fb1e6af1

View file

@ -12,7 +12,10 @@
command: oc get project {{app}} command: oc get project {{app}}
register: project_exists register: project_exists
failed_when: false failed_when: false
changed_when: "'not found' in project_exists.stderr" #changed_when: "'not found' in project_exists.stderr"
- debug:
msg: "{{project_exists}}"
- name: Copy project template - name: Copy project template
template: template:
@ -21,7 +24,7 @@
- name: Create project - name: Create project
shell: oc apply -f /etc/openshift_apps/{{app}}/project.yml shell: oc apply -f /etc/openshift_apps/{{app}}/project.yml
when: "'not found' in project_exists.stderr" when: "'not found' in project_exists.stderr"
- name: deployer.yml - name: deployer.yml
include_role: include_role: