Skip to content

Commit

Permalink
[WIP] (Unforking) added namespace variable for conditional mgmt deplo…
Browse files Browse the repository at this point in the history
…yment
  • Loading branch information
batKem committed Feb 7, 2020
1 parent 4a7ea38 commit 091a4c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/wordpress-openshift-namespace/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# vars file for wordpress-openshift-namespace

openshift_is_production: "{{ openshift_namespace == 'wwp' }}"
openshift_is_wp_int: "{{ openshift_namespace == 'wwp-int' }}"
openshift_registry_tag: "{{ 'prod' if openshift_is_production else 'latest' }}"

# for imageStream authentification
Expand Down

0 comments on commit 091a4c4

Please sign in to comment.