02_manager_ops.ymlΒΆ

---
- name: "πŸ“„ Render allowed_hosts initializer for {{ application_id }}"
  stack_host_template:
    src: "allowed_hosts.rb.j2"
    dest: "{{ lookup('container', application_id, 'directories.instance') }}allowed_hosts.rb"
    mode: "0644"
  notify: compose-up

- name: "πŸš€ Deploy '{{ DECIDIM_PATCH_SCRIPT_HOST_ABS }}'"
  copy:
    src: "python/{{ DECIDIM_PATCH_SCRIPT_FILE }}"
    dest: "{{ DECIDIM_PATCH_SCRIPT_HOST_ABS }}"
  notify:
    - compose-build
    - compose-up

- name: "πŸš€ Deploy '{{ DECIDIM_PATCH_RUBY_HOST_ABS }}'"
  copy:
    src: "{{ DECIDIM_PATCH_RUBY_DIR }}/"
    dest: "{{ DECIDIM_PATCH_RUBY_HOST_ABS }}/"
  notify:
    - compose-build
    - compose-up

- name: "🚿 flush handlers of compose"
  meta: flush_handlers

- name: "▢️ Run Decidim setup routines"
  include_tasks: 01_setup.yml

- name: "🎨 Converge the corporate design of the Decidim organization"
  include_tasks: 03_design.yml