---
- name: Install st2
  hosts: all
  environment: "{{ st2_proxy_env | default(None) }}"
  roles:
    - StackStorm.mongodb
    - StackStorm.rabbitmq
    - StackStorm.postgresql
    - StackStorm.st2repo
    - StackStorm.st2
    - StackStorm.st2mistral
    - StackStorm.nginx
    - StackStorm.st2web
    - StackStorm.nodejs
    - StackStorm.st2chatops
    - StackStorm.st2smoketests
    - role: StackStorm.ewc
      when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0
    - role: StackStorm.ewc_smoketests
      when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0

---
- name: Install st2
  hosts: all
  environment: "{{ st2_proxy_env | default({}) }}"
  roles:
    - StackStorm.mongodb
    - StackStorm.rabbitmq
    - StackStorm.postgresql
    - StackStorm.st2repo
    - StackStorm.st2
    - StackStorm.st2mistral
    - StackStorm.nginx
    - StackStorm.st2web
    - StackStorm.nodejs
    - StackStorm.st2chatops
    - StackStorm.st2smoketests
    - role: StackStorm.ewc
      when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0
    - role: StackStorm.ewc_smoketests
      when: ewc_license is defined and ewc_license is not none and ewc_license | length > 0

Fix ' [WARNING]: could not parse environment value, skipping: [u'{{ st2_proxy_env | default(None) }}']'
Fix ' [WARNING]: could not parse environment value, skipping: [u'{{ st2_proxy_env | default(None) }}']'
