Skip to content

Commit

Permalink
anible env
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfiea committed Oct 22, 2024
1 parent fa6c27a commit 2a3ea7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ibm/mas_devops/playbooks/oneclick_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
mas_workspace_id: "{{ lookup('env', 'MAS_WORKSPACE_ID') | default('masdev', true) }}"

environment:
IBM_ENTITLEMENT_KEY: "{{ IBM_ENTITLEMENT_KEY }}"
IBM_ENTITLEMENT_KEY: "{{ ibm_entitlement_key }}"
MAS_INSTANCE_ID: "{{ mas_instance_id }}"
MAS_CONFIG_DIR: " {{ mas_config_dir }}"
SLS_ENTITLEMENT_FILE: "{{ sls_entitlement_file }}"
Expand All @@ -32,6 +32,7 @@
assert:
that:
# IBM
- ansible_env.IBM_ENTITLEMENT_KEY != ""
- lookup('env', 'IBM_ENTITLEMENT_KEY') != ""
# MAS
- lookup('env', 'MAS_INSTANCE_ID') != ""
Expand Down

0 comments on commit 2a3ea7e

Please sign in to comment.