replaced fixed hostname with variable
All checks were successful
/ checkout (push) Successful in 2m0s
All checks were successful
/ checkout (push) Successful in 2m0s
This commit is contained in:
parent
0d72bd434d
commit
fee8771c77
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
||||||
- name: notify mail sender
|
- name: notify mail sender
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/apt/apt.conf.d/50unattended-upgrades
|
dest: /etc/apt/apt.conf.d/50unattended-upgrades
|
||||||
line: "Unattended-Upgrade::Sender \"Unattended-upgrades service02 <admin@anyops.de>\";"
|
line: "Unattended-Upgrade::Sender \"Unattended-upgrades {{ inventory_hostname }} <admin@anyops.de>\";"
|
||||||
search_string: "^Unattended-Upgrade::Sender"
|
search_string: "^Unattended-Upgrade::Sender"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue