Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible Configure NTP Task #76

Closed
gthieleb opened this issue Apr 23, 2019 · 0 comments
Closed

Ansible Configure NTP Task #76

gthieleb opened this issue Apr 23, 2019 · 0 comments

Comments

@gthieleb
Copy link

During client setup, using the freeipa-client for Centos7.6 node this error appears:

When I try to disable ntp setup with ipaclient_ntp: no this results in the same issue:

ansible-playbook -i inventory install-client.yml

using vars:

[ipaclients:vars]
ipa_ansible_python_interpreter=/usr/bin/python2
ipaclient_no_dns_lookup=yes
ipaclient_domain=admin.lab
ipaclient_realm=ADMIN.LAB
ipaadmin_principal=admin
ipaadmin_password=****
ipaclient_use_otp=yes
ipaclient_ntp=no
ipaclient_mkhomedir=yes
TASK [ipaclient : Install - Configure NTP] ***************************************************************************************************************************************************************************************
fatal: [awx2.admin.lab]: FAILED! => {"changed": false, "module_stderr": "Shared connection to awx2.admin.lab closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1556029445.194679-60442685518602/AnsiballZ_ipaclient_setup_ntp.py\", line 113, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1556029445.194679-60442685518602/AnsiballZ_ipaclient_setup_ntp.py\", line 105, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1556029445.194679-60442685518602/AnsiballZ_ipaclient_setup_ntp.py\", line 48, in invoke_module\r\n    imp.load_module('__main__', mod, module, MOD_DESC)\r\n  File \"/tmp/ansible_ipaclient_setup_ntp_payload_pHWgUa/__main__.py\", line 175, in <module>\r\n  File \"/tmp/ansible_ipaclient_setup_ntp_payload_pHWgUa/__main__.py\", line 157, in main\r\nNameError: global name 'ntpconf' is not defined\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant