openshift: change shell to command

Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
Mark O Brien 2022-02-02 17:20:57 +00:00
parent d9b3af9c26
commit 2d9b23d066

View file

@ -20,7 +20,7 @@
dest=/etc/openshift_apps/{{app}}/project.yml
- name: Create project
shell: oc apply -f /etc/openshift_apps/{{app}}/project.yml
command: oc apply -f /etc/openshift_apps/{{app}}/project.yml
when: "project_exists.rc != 0"
- name: deployer.yml