QingCloudAppcenter / ansible-roles

Reusable Ansible roles.
Apache License 2.0
1 stars 8 forks source link

target_env 不为 dev 时,APPCTL_ENV=dev 未被覆盖掉,导致 isDev 为 true #30

Closed MrYourM closed 4 years ago

MrYourM commented 4 years ago
- name: set up dev env
  copy:
    dest: /opt/app/current/bin/envs/appdev.env
    content: |+
      APPCTL_ENV=dev
  when: target_env == 'dev'