aws_cloud: pre-setup hostname early
To allow the initial postfix start: Nov 11 10:38:33 107.20.83.139 postfix/sendmail[26023]: warning: valid_hostname: numeric hostname: 107.20.83.139 Nov 11 10:38:33 107.20.83.139 postfix/sendmail[26023]: fatal: unable to use my own hostname Nov 11 10:38:33 107.20.83.139 postfix[26025]: warning: valid_hostname: numeric hostname: 107.20.83.139 Nov 11 10:38:33 107.20.83.139 postfix[26025]: fatal: unable to use my own hostname
This commit is contained in:
parent
b087f9ea72
commit
f351fe2d32
1 changed files with 5 additions and 0 deletions
|
@ -140,3 +140,8 @@
|
|||
|
||||
- name: Include SSH config
|
||||
import_role: name=basessh
|
||||
|
||||
# we need this to allow initial postfix service start
|
||||
- name: setup a temporary hostname
|
||||
hostname: name={{ inventory_hostname }}
|
||||
when: birthday is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue