Files @ 10f53ae8f131
Branch filter:

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

branko
MAR-218: Enable case-sensitive column name handling for database privileges:

- This will become a new default in the next major release of the
community.mysql collection.
- Gets rid of the Ansible mysql_user module warning.
---

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

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

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