fix group
This commit is contained in:
parent
69ec605d5a
commit
5f8bf17901
|
@ -12,6 +12,12 @@
|
||||||
- "setup-{{ ansible_distribution | lower }}.yml"
|
- "setup-{{ ansible_distribution | lower }}.yml"
|
||||||
- "setup-{{ ansible_os_family | 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
|
- name: Copy systemd unit file to server
|
||||||
copy:
|
copy:
|
||||||
src: msmtpd.service
|
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
|
- name: Install msmtp
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Reference in a new issue