Files @ 4a23a2f7f56a
Branch filter:

Location: majic-ansible-roles/roles/preseed/tasks/main.yml - annotation

branko
MAR-151: Update/fix test site wsgihello2 role:

- Include six as dependency for ipcalc (bug in packaging of ipcalc).
- Updated requirements for the application.
- Specify the wsgi_requirements_in parameter, and update the
wsgi_requirements parameter.
---

- name: Create directory for storing preseed configurations
  file:
    path: "{{ preseed_directory }}"
    mode: 0750
    state: directory

- name: Create preseed configuration file
  template:
    src: "preseed.cfg.j2"
    dest: "{{ preseed_directory }}/{{ item }}.cfg"
    mode: 0640
  when: item != "localhost"
  with_items: "{{ groups['all'] }}"

- name: Explicitly run all handlers
  include: ../handlers/main.yml
  when: "run_handlers | default(False) | bool()"
  tags:
    - handlers