site.yml 554 B

12345678910111213141516171819202122
  1. ---
  2. - name: Deploy Automated Office
  3. hosts: localhost
  4. become: true
  5. pre_tasks:
  6. - debug:
  7. msg:
  8. - "Client secret defined: {{ client_secret is defined }}"
  9. - "Client secret length: {{ client_secret | default('') | length }}"
  10. verbosity: 1
  11. - name: "Verify required variables"
  12. fail:
  13. msg: "Client secret is not set or empty"
  14. when: client_secret is not defined or client_secret | default('') | trim == ''
  15. roles:
  16. - role: common
  17. - role: docker
  18. - role: nginx
  19. - role: services