- ceph_deploy
- ceph_openstack_conf
- ceph_openstack
+
+- meta: flush_handlers
- config
- cinder-config
- cinder
+
+- meta: flush_handlers
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
-volume_group = cinder-volumes
+volume_group = storage-volumes
verbose = {{ VERBOSE }}
debug = {{ DEBUG }}
auth_strategy = keystone
snapshot_name_template = snapshot-%s
max_gigabytes=10000
-volume_group=cinder-volumes
volume_clear=zero
volume_clear_size=10
backup=yes
notify:
- restart cinder-volume services
+
+- meta: flush_handlers
snapshot_name_template = snapshot-%s
max_gigabytes=10000
-volume_group=cinder-volumes
volume_clear=zero
volume_clear_size=10
- name: kill daemon for accelerate
shell: lsof -ni :5099|grep LISTEN|awk '{print $2}'|xargs kill -9
ignore_errors: true
+
+- meta: flush_handlers
- include: mongodb_config.yml
when:
- inventory_hostname == haproxy_hosts.keys()[0]
+
+- meta: flush_handlers
- config
- glance_config
- glance
+
+- meta: flush_handlers
- name: restart rsyslog
shell: service rsyslog restart
+
+- meta: flush_handlers
- heat_config
- heat
+- meta: flush_handlers
- config
- keystone_config
- keystone
+
+- meta: flush_handlers
- name: restart services
service: name={{ item }} state=restarted enabled=yes
with_items: services| union(services_noarch)
+
+- meta: flush_handlers
- name: restart cron
service: name={{ cron }} state=restarted
+- meta: flush_handlers
- include: rabbitmq_config.yml
when: inventory_hostname == haproxy_hosts.keys()[0]
+
+- meta: flush_handlers
- include: ../../neutron-network/tasks/odl.yml
when: "'opendaylight' in {{ NEUTRON_MECHANISM_DRIVERS }}"
-
- config
- neutron_config
- neutron
+
+- meta: flush_handlers
with_flattened:
- services_noarch
- services
+
+- meta: flush_handlers
lineinfile: dest=/opt/service create=yes line='{{ item }}'
with_items: services | union(services_noarch)
-- meta: flush_handlers
-
- name: remove nova sqlite db
shell: rm /var/lib/nova/nova.sqlite || touch nova.sqlite.removed
+
+- meta: flush_handlers
- config
- nova_config
- nova
+
+- meta: flush_handlers
- include: secgroup.yml
when: '{{ enable_secgroup }} == False'
tags: secgroup
+
+- meta: flush_handlers
- name: add to boot scripts
service: name=net_init enabled=yes
+
+- meta: flush_handlers
when: status.stat.exists == True and status.stat.isblk == True
tags:
- storage
+
+- meta: flush_handlers