add role tag to msmtp role
This commit is contained in:
parent
4f2d0ad75b
commit
5787a9d792
1 changed files with 5 additions and 2 deletions
|
|
@ -1,10 +1,13 @@
|
||||||
- name: ensure msmtp is installed
|
---
|
||||||
|
- tags: ["msmtp"]
|
||||||
|
name: ensure msmtp is installed
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: msmtp
|
name: msmtp
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: ensure msmtp config for root user
|
- tags: ["msmtp"]
|
||||||
|
name: ensure msmtp config for root user
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: msmtprc.j2
|
src: msmtprc.j2
|
||||||
dest: /root/.msmtprc
|
dest: /root/.msmtprc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue