Closed patsevanton closed 2 years ago
The ScriptError
in get_server_ip_address
is sadly not providing useful information for the ipaserver role. The error is either that the hostname resolve to localhost, or the name and IPA address does not match or the name does not resolve to an IP.
It is strange that Python 2.7 is being used for the deployment in Ubuntu 20.04.
Can you try the playbook with ansible_python_interpreter = /usr/bin/python2.7
?
I find reason:
cat /etc/hosts
127.0.1.1 freeipa.ru-central1.internal freeipa
This task for fix issue:
- name: Remove 127.0.1.1 from /etc/hosts
lineinfile:
path: /etc/hosts
state: absent
regexp: '^127.0.1.1'
Hello! Thanks for role freeipa! I try install and get error
Playbook
Inventory
Ansible output
Environment
Version
Server where ansible
Remote server