00_core.ymlΒΆ

---
- include_tasks: utils/once/flag.yml

- name: "🧩 load docker, proxy for '{{ application_id }}'"
  include_role:
    name: sys-stk-full
  vars:
    aca_origin: "* always"
    aca_methods: "'GET, OPTIONS' always"
    aca_headers: '"Origin, X-Requested-With, Content-Type, Accept, Authorization" always'
    webserver_vhost_flavour: "basic"

- name: "πŸ“‹ Copy '{{ application_id }}' files"
  stack_host_copy:
    src: "{{ item.source }}"
    dest: "{{ item.target }}"
    mode: "0755"
  loop:
    - { source: "javascript/server.js", target: "{{ SIMPLEICONS_HOST_SERVER_FILE }}" }
    - { source: "javascript/package.json", target: "{{ SIMPLEICONS_HOST_PACKAGE_FILE }}" }
  notify:
    - compose-up
    - compose-build

- meta: flush_handlers