1
0
mirror of https://github.com/appuio/ansible-module-openshift.git synced 2026-02-05 06:44:57 +01:00

Change the process_template parameter switch from -v to -p

Since OpenShift 3.5 the oc process command switch -p is used
instead of -v. In OpenShift 3.10 the switch -v support has been
removed completely.
This commit is contained in:
Gabriel Mainberger
2019-01-08 15:57:20 +01:00
parent 60e8ca8151
commit 9a5178c04b

View File

@@ -241,7 +241,7 @@ class ResourceModule:
self.debug("process_template")
if arguments:
args = [_ for arg in arguments.items() for _ in ('-v', "=".join(arg)) if not arg[1].startswith('__omit_place_holder__')]
args = [_ for arg in arguments.items() for _ in ('-p', "=".join(arg)) if not arg[1].startswith('__omit_place_holder__')]
else:
args = []