[TIDY] Set some "diff: false", fix linter warnings
This commit is contained in:
parent
f97ef4dee6
commit
fe97b0ae76
19 changed files with 189 additions and 175 deletions
|
|
@ -2,30 +2,30 @@
|
|||
# Server/Cronmails: Setup Mails from Cronjobs (install exim)
|
||||
|
||||
# Install and configure exim
|
||||
- name: cronmails - Install exim4
|
||||
- name: Cronmails - Install exim4
|
||||
when: not exim_skip_install
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
with_first_found:
|
||||
- "cronmails-{{ ansible_distribution }}.{{ ansible_distribution_release }}.yml"
|
||||
- "cronmails-{{ ansible_distribution }}.yml"
|
||||
- "cronmails-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
||||
- "cronmails-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||
ignore_errors: true
|
||||
|
||||
# Set cronjob env variables/ settings
|
||||
- name: cronmails - Crontab set path
|
||||
become: yes
|
||||
- name: Cronmails - Crontab set path
|
||||
become: true
|
||||
ansible.builtin.cron:
|
||||
name: PATH
|
||||
env: yes
|
||||
env: true
|
||||
value: /bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
|
||||
- name: cronmails - Crontab set mailto
|
||||
become: yes
|
||||
- name: Cronmails - Crontab set mailto
|
||||
become: true
|
||||
ansible.builtin.cron:
|
||||
name: MAILTO
|
||||
env: yes
|
||||
env: true
|
||||
value: "{{ cron_email }}"
|
||||
- name: cronmails - Add monthly test mail
|
||||
become: yes
|
||||
- name: Cronmails - Add monthly test mail
|
||||
become: true
|
||||
ansible.builtin.cron:
|
||||
name: "Monthly Test Mail"
|
||||
minute: "0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue