forked from evolix/ansible-roles
evolinux_base: configure /etc/mailname with current FQDN
This commit is contained in:
parent
8a20ec5ca2
commit
25e69efd24
|
@ -22,6 +22,12 @@
|
|||
regexp: '^127.0.1.1\s+'
|
||||
state: absent
|
||||
|
||||
- name: /etc/mailname is up-to-date
|
||||
copy:
|
||||
dest: /etc/mailname
|
||||
content: "{{ evolinux_fqdn }}\n"
|
||||
force: yes
|
||||
|
||||
- name: override ansible_hostname fact
|
||||
set_fact:
|
||||
ansible_hostname: "{{ evolinux_hostname }}"
|
||||
|
|
Loading…
Reference in a new issue