Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
737 B

---
- name: rehash postfix
command: "postmap /etc/postfix/{{ item }}"
with_items:
- relay_auth
- name: restart postfix
service: name=postfix state=restarted
- name: newaliases
command: newaliases
- name: restart journald
service: name=systemd-journald state=restarted
- name: systemd-tmpfiles
command: systemd-tmpfiles --create
- name: reload systemd
command: systemctl daemon-reload
- name: restart crond
service: name=crond state=restarted
- name: restart journal-upload
service: name=systemd-journal-upload state=restarted
when: remote_journal is defined
- name: restart journald
service: name=systemd-journald state=restarted
- name: load kmods
service: name=systemd-modules-load state=restarted