diff --git a/roles/osbs-client/files/osbs-orchestrator-customize.json b/roles/osbs-client/files/osbs-orchestrator-customize.json new file mode 100644 index 0000000000..337a10e1d3 --- /dev/null +++ b/roles/osbs-client/files/osbs-orchestrator-customize.json @@ -0,0 +1,11 @@ +{ + "disable_plugins": [ + { + "plugin_type": "postbuild_plugins", + "plugin_name": "import_image" + } + ], + + "enable_plugins": [ + ] +} diff --git a/roles/osbs-client/tasks/main.yml b/roles/osbs-client/tasks/main.yml index 9245b88b81..3e4935805f 100644 --- a/roles/osbs-client/tasks/main.yml +++ b/roles/osbs-client/tasks/main.yml @@ -30,6 +30,16 @@ - osbs-client when: env == 'production' + +- name: Upload OSBS Orchestrator Customizations plugin conf + copy: + src: "osbs-orchestrator-customize.json" + dest: "/usr/share/osbs/ochestrator_customize.json" + mode: 0644 + tags: + - osbs-client + when: env == 'staging' + - name: Symlink in OSBS input configs provided by package file: src: "/usr/share/osbs/{{item}}.json"