[openshift/project] Fix the parameter order for oc apply
The file needs to be specified after `-f` parameter otherwise it fails with unexpected args error. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
c9d01c484f
commit
c5e61168bb
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
dest=/etc/openshift_apps/{{app}}/project.yml
|
||||
|
||||
- name: Create project
|
||||
shell: oc apply -f --validate=strict /etc/openshift_apps/{{app}}/project.yml
|
||||
shell: oc apply --validate=strict -f /etc/openshift_apps/{{app}}/project.yml
|
||||
when: "'not found' in project_exists.stderr"
|
||||
|
||||
- name: deployer.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue