-
-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
We're calling this ansible role from another playbook. In SLES 15.7 machines it fails:
TASK [geerlingguy.ntp : Ensure NTP package is installed.] **********************
[ERROR]: Task failed: Module failed: No provider of '+ntp' found.
Origin: /home/runner/.ansible/roles/geerlingguy.ntp/tasks/main.yml:29:3
27 when: ntp_daemon is not defined
28
29 - name: Ensure NTP package is installed.
^ column 3
fatal: [MYHOST.example.domain]: FAILED! => {"changed": false, "cmd": ["/usr/bin/zypper", "--non-interactive", "--xmlout", "--quiet", "install", "--type", "package", "--auto-agree-with-licenses", "--no-recommends", "--", "+ntp"], "msg": "No provider of '+ntp' found.", "rc": 104, "stderr": "", "stderr_lines": [], "stdout": "<?xml version='1.0'?>\n<stream>\n<message type=\"error\">No provider of '+ntp' found.</message>\n</stream>\n", "stdout_lines": ["<?xml version='1.0'?>", "<stream>", "<message type=\"error\">No provider of '+ntp' found.</message>", "</stream>"]}
PLAY RECAP *********************************************************************
MYHOST.example.domain : ok=6 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
We need to distinguish between SLES <= 15 and SLES >= 15.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels