Fix for upstart limits.conf file conditional

As part of https://review.openstack.org/#/c/397245/ the upstart
limits.conf was incorrectly set to only happen on systemd systems rather
than only happen on upstart systems.

This patch resolves that issue.

Change-Id: I4f5e53d7d5946e2e5c4d8fe1e719404d85dfbfae
This commit is contained in:
Andy McCrae 2016-12-15 10:52:51 +00:00
parent 08546d3763
commit 423d721c68
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
src: "upstart.limits.conf.j2"
dest: "/etc/security/limits.conf"
when:
- ansible_service_mgr == 'systemd'
- ansible_service_mgr != 'systemd'
notify:
- Restart mysql
tags: