diff options
author | QiLiang <liangqi1@huawei.com> | 2016-08-28 23:02:31 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2016-08-28 23:05:34 +0800 |
commit | f79201043b88c9b71060c932063ca8e411ffdcbd (patch) | |
tree | 292e8de892ef2fcbd25720f7a8ffc94c9c48d910 /deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone | |
parent | 03d05175eb0be450e81323c052964e6febafb606 (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>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial/roles/keystone')
-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) |