-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Failing without reboot on Ubuntu 16.04 LTS #17
Comments
Also happens on newer Debian hosts. Reason: the new service file is not detected (ansible/ansible-modules-core#191) Maybe you could add the |
Wrong repo in above link :) — ansible/ansible-modules-core#3660 |
I'm seeing issues like this pop up for many of my roles now, including:
Just documenting here for my own sanity. |
Doesn't work with Debian either. |
Note that the automated build (runs on CentOS 6, CentOS 7, Ubuntu 12, Ubuntu 14, Ubuntu 16, and Debian 8 at this time) is passing with the latest code: https://travis-ci.org/geerlingguy/ansible-role-firewall But there are some cases where it might not work, and it looks like Ansible 2.2 might have the fix (ref: geerlingguy/ansible-role-mysql#128), so rather than try to figure out a hacky workaround, I'm going to wait for that and then see if it fixes those issues. Also, in some cases, if you're working from a Windows workstation, check to make sure your line endings for the files in this role are set to 'Unix' and not Windows. That's caused some consternation for people deploying VMs in Windows via Vagrant using this role and the Ansible provisioner. |
@geerlingguy I am sorry. You are right. It works! Thank you for this. |
On my part, I forgot to reference the path for variables. |
@katgironpe Great, glad I could help! @groggemans - I'm going to close this out, but please let me know if it's still an issue. |
Ok, Thanks! |
Reopening due to #958. Might add a switch for systemd systems and use it for Ubuntu 16.04, CentOS 7, Debian 8, etc. so they get the proper templated file. |
I have a fix, will push up a branch soon! |
Fixes #17: Failing without reboot on Ubuntu 16.04.
@geerlingguy thank you! |
Still not using the unit file on CentOS 7. Will fix that now. See also: geerlingguy/ansible-role-mailhog#15 |
It runs fine after a reboot.
The text was updated successfully, but these errors were encountered: