Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
467 B

  1. ---
  2. - name: Fail if required LiveKit Server settings are not defined
  3. ansible.builtin.fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] | length == 0"
  7. with_items:
  8. - {'name': 'livekit_server_hostname', when: true}
  9. - {'name': 'livekit_server_identifier', when: true}
  10. - {'name': 'livekit_server_uid', when: true}
  11. - {'name': 'livekit_server_gid', when: true}