From f79201043b88c9b71060c932063ca8e411ffdcbd Mon Sep 17 00:00:00 2001 From: QiLiang Date: Sun, 28 Aug 2016 23:02:31 +0800 Subject: Disable keystone boot auto start keystone is running under apache, disable keystone auto start during system boot. JIRA: COMPASS-475 Change-Id: Ia6c17dff71ae846ced12036da2e08bb7df4a4f2f Signed-off-by: QiLiang --- .../openstack_mitaka/roles/keystone/tasks/keystone_install.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'deploy/adapters/ansible/openstack_mitaka/roles/keystone/tasks') diff --git a/deploy/adapters/ansible/openstack_mitaka/roles/keystone/tasks/keystone_install.yml b/deploy/adapters/ansible/openstack_mitaka/roles/keystone/tasks/keystone_install.yml index ea6926f4..ba4fc28e 100644 --- a/deploy/adapters/ansible/openstack_mitaka/roles/keystone/tasks/keystone_install.yml +++ b/deploy/adapters/ansible/openstack_mitaka/roles/keystone/tasks/keystone_install.yml @@ -26,6 +26,15 @@ state=absent when: ansible_os_family == "Debian" +- name: disable boot auto start + file: + path={{ item }} + state=absent + with_items: + - /etc/init.d/keystone + - /etc/init/keystone.conf + when: ansible_os_family == "Debian" + - name: generate keystone service list lineinfile: dest=/opt/service create=yes line='{{ item }}' with_items: services | union(services_noarch) -- cgit