add role tag to msmtp role
This commit is contained in:
parent
47e8248841
commit
9aeedc3e78
1 changed files with 4 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
- 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