mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user