openshift: add temp debug statement
Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
parent
eb214ec436
commit
45fb1e6af1
1 changed files with 5 additions and 2 deletions
|
@ -12,7 +12,10 @@
|
|||
command: oc get project {{app}}
|
||||
register: project_exists
|
||||
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
|
||||
template:
|
||||
|
@ -21,7 +24,7 @@
|
|||
|
||||
- name: Create project
|
||||
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
|
||||
include_role:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue