From 423d721c68a4204eb1e1d68547de8c4f2ac3a7c8 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Thu, 15 Dec 2016 10:52:51 +0000 Subject: [PATCH] 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 --- tasks/galera_post_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/galera_post_install.yml b/tasks/galera_post_install.yml index cbc93db3..8e5fd88e 100644 --- a/tasks/galera_post_install.yml +++ b/tasks/galera_post_install.yml @@ -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: