diff options
author | 2016-08-28 23:02:31 +0800 | |
---|---|---|
committer | 2016-09-06 01:58:21 +0000 | |
commit | 1db5dbcdb4b71541a554c6846546c7cf3b5e3137 (patch) | |
tree | 148d1fc166c14898b34ec743a408488115622a46 /deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks | |
parent | 0960913b0d973299b2d93d32d0f558ce607c5f5a (diff) |
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 <liangqi1@huawei.com>
(cherry picked from commit f79201043b88c9b71060c932063ca8e411ffdcbd)
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks')
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks/keystone_install.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks/keystone_install.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks/keystone_install.yml index ea6926f4..79d02729 100644 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks/keystone_install.yml +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone/tasks/keystone_install.yml @@ -26,6 +26,16 @@ 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 + - /lib/systemd/system/keystone.service + when: ansible_os_family == "Debian" + - name: generate keystone service list lineinfile: dest=/opt/service create=yes line='{{ item }}' with_items: services | union(services_noarch) |