Files
oopen-server/roles/common/tasks/config_files_mailsystem_scripts.yml
T
chris 81398e847e Refactor Ansible tasks to use fully qualified module names and improve code consistency
- Updated all tasks to use fully qualified module names (e.g., ansible.builtin.shell, ansible.builtin.copy) for clarity and to avoid ambiguity.
- Replaced deprecated 'yum' module with 'dnf' for package management on RedHat-based systems.
- Improved formatting and consistency in task definitions, including the use of double quotes for strings and consistent indentation.
- Removed unnecessary comments and whitespace to enhance readability.
- Ensured that conditions and loops are consistently formatted across all tasks.
2026-07-20 23:09:30 +02:00

15 lines
445 B
YAML

---
- name: (config_files_mailsystem_scripts.yml) Copy config file templates mailsystem scripts
ansible.builtin.template:
src: "{{ item.src_path }}"
dest: "{{ item.dest_path }}"
owner: root
group: root
mode: "0644"
loop: "{{ template_files_mailsystem_script }}"
loop_control:
label: "dest: {{ item.name }}"
when:
- template_files_mailsystem_script is defined
- template_files_mailsystem_script|length > 0