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's service module fails on Ubuntu 18.04 #37551
Comments
Files identified in the description: If these files are inaccurate, please update the |
That references a role in that repo that no longer exists (cmdsrv). Could you update the bug with an example playbook and 'ansible-playbook' output with '-vvv' level verbosity? |
CLARIF: The production code does exist, but apologies that may not have been obvious as it's in Internet-in-a-Box's other repo here: https://github.com/iiab/iiab-admin-console/blob/master/roles/cmdsrv/tasks/main.yml#L252-L255 (the last 4 lines) |
I've seen similar behaviour recently. The service can be forced to start with:
|
Oh yes, been bitten by this one just now. Thanks for reporting. |
It's possible there is more than one bug here. I'm seeing the same issue as @ergonlogic on Ubuntu Xenial in Docker, but in this case, the expected link ( |
Files identified in the description: If these files are incorrect, please update the |
This is still happening in Ubuntu 20.04 in docker. Service isn't starting the service.
or
Had to use
|
I cannot replicate this issue. Using
If you are still having problems, feel free to open a new issue with a full contained reproducer. If you have further questions please stop by IRC or the mailing list:
|
ISSUE TYPE
COMPONENT NAME
Ansible's service module
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
It's true that Ubuntu 18.04 is unreleased, but it's entered final beta, for final release in April:
SUMMARY
Fails to create a link in
/etc/systemd/system/multiuser.target.wants
As originally reported in: iiab/iiab#698
STEPS TO REPRODUCE
The following Ansible code fails on Ubuntu 18.04, with Ansible version 2.5.0 RC3 and similar:
The above fails to create a link in /etc/systemd/system/multiuser.target.wants
The following format also fails to create the link:
EXPECTED RESULTS
The link should have been created in /etc/systemd/system/multiuser.target.wants — as does work on Raspbian and Ubuntu 16.04
ACTUAL RESULTS
On Ubuntu 18.04, no link is created in /etc/systemd/system/multiuser.target.wants
The text was updated successfully, but these errors were encountered: