fix group
This commit is contained in:
parent
69ec605d5a
commit
5f8bf17901
|
@ -12,6 +12,12 @@
|
|||
- "setup-{{ ansible_distribution | lower }}.yml"
|
||||
- "setup-{{ ansible_os_family | lower }}.yml"
|
||||
|
||||
- name: Ensure group "msmtp" exists
|
||||
group:
|
||||
name: msmtp
|
||||
state: present
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Copy systemd unit file to server
|
||||
copy:
|
||||
src: msmtpd.service
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
---
|
||||
- name: Ensure group "msmtp" exists
|
||||
group:
|
||||
name: msmtp
|
||||
state: present
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Install msmtp
|
||||
yum:
|
||||
name:
|
||||
|
|
Loading…
Reference in a new issue