Tok
2018-10-04 bd5f5824585322abf9af71b75cb81c57220a4794
Updated user.info task to 1 line of output per task, CF looks for msg: prefix
1 files modified
16 ■■■■■ changed files
ansible/configs/linklight/pre_infra.yml 16 ●●●●● patch | view | raw | blame | history
ansible/configs/linklight/pre_infra.yml
@@ -63,11 +63,17 @@
  - post_flight_check
  tasks:
    
  - name: generate user info string for email when a workshop, create_login_page set to true, S3 bucket
    debug:
      msg:
      - "user.info: The list of VMs for this workshop is available at:"
      - "user.info: https://s3.amazonaws.com/{{ guid }}.{{ workshop_dns_zone }}/{{ guid }}-index.html"
  - name: generate email content for user
    block:
      - name: generate user info string for email when a workshop, create_login_page set to true, S3 bucket
        debug:
          msg: "user.info: The list of VMs for this workshop is available at:"
      - name: generate S3 bucket URL for user email
        debug:
          msg:  "user.info: https://s3.amazonaws.com/{{ guid }}.{{ workshop_dns_zone }}/{{ guid }}-index.html"
    when: create_login_page  
  - debug: