exim4 and nslcd service should start on boot

This commit is contained in:
Ruben Blanco 2023-10-23 17:20:22 +02:00
parent 4db0d8ef12
commit 5cbaf8397d
1 changed files with 12 additions and 2 deletions

View File

@ -99,7 +99,12 @@
notify: restart exim4 notify: restart exim4
register: exim4_config register: exim4_config
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# service should start on boot.
- name: service should start on boot
service:
name: "{{ exim_daemon }}"
enabled: yes
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# DONT WORK :( # DONT WORK :(
#- name: reconfigure relayhost to smtp.verdnatura.es #- name: reconfigure relayhost to smtp.verdnatura.es
@ -209,7 +214,12 @@
shell: pam-auth-update --enable ldap shell: pam-auth-update --enable ldap
notify: restart nslcd notify: restart nslcd
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# service should start on boot.
- name: service should start on boot
service:
name: "{{ nslcd_daemon }}"
enabled: yes
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# configure sudo for sysadmin group # configure sudo for sysadmin group
# paso1 - add sysadmin group to sudoers # paso1 - add sysadmin group to sudoers