ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

Hardcoding cluster resources names prevents new service creation in the same namespace #142

Open rthallisey opened 6 years ago

rthallisey commented 6 years ago
- name: set development deployment config state to {{ state }}
  openshift_v1_deployment_config:
    name: postgresql
    namespace: '{{ namespace }}'
    labels:
      app: rhscl-postgresql-apb
      service: postgresql
...

The deployment config name is hardcoded to postgresql. If I run a second postgresql apb in the same namespace then nothing will happen because the resources will already exist. This is the case for all our apbs.

jwmatthews commented 6 years ago

Tracked in trello here: https://trello.com/c/5iiTxEt4