[TIDY] Set some "diff: false", fix linter warnings

This commit is contained in:
Jannik Beyerstedt 2023-04-28 23:25:21 +02:00
parent f97ef4dee6
commit fe97b0ae76
19 changed files with 189 additions and 175 deletions

View file

@ -2,8 +2,8 @@
# Server/Cronmails: Setup Mails from Cronjobs (install exim) - CentOS Version
# Install exim
- name: cronmails - Install exim4 as MTA
become: yes
- name: Cronmails - Install exim4 as MTA
become: true
ansible.builtin.yum:
name: "{{ packages }}"
state: present
@ -12,31 +12,31 @@
- exim
# Configure exim
- name: cronmails - Create exim config folder
become: yes
- name: Cronmails - Create exim config folder
become: true
ansible.builtin.file:
path: /etc/exim
state: directory
# TODO: exim config works quite differently on CentOS compared to Debian!!!
# # - name: cronmails - Copy exim config template
# # become: yes
# # - name: Cronmails - Copy exim config template
# # become: true
# # ansible.builtin.copy:
# # src: "{{ role_path }}/files/exim4.conf.template"
# # dest: /etc/exim/exim.conf.template
# # register: cronmails_conftmp_update
# # - name: cronmails - Copy exim config file
# # become: yes
# # - name: Cronmails - Copy exim config file
# # become: true
# # ansible.builtin.template:
# # src: "{{ role_path }}/templates/update-exim4.conf.conf"
# # dest: /etc/exim/update-exim.conf.conf
# # register: cronmails_conffile_update
# # - name: cronmails - Run update-exim.conf
# # - name: Cronmails - Run update-exim.conf
# # when: cronmails_conftmp_update.changed or cronmails_conffile_update.changed
# # become: yes
# # become: true
# # ansible.builtin.shell: "update-exim.conf"
# - name: cronmails - Enable and start exim
# become: yes
# - name: Cronmails - Enable and start exim
# become: true
# ansible.builtin.service:
# name: exim
# state: started
# enabled: yes
# enabled: true