summaryrefslogtreecommitdiff
path: root/install-files/openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service
blob: 7a7852273411d9934667cdfaefdf01582100d330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Run ceilometer-db-setup Ansible scripts
ConditionPathExists=/etc/openstack/ceilometer.conf
After=network-online.target postgres-server-setup.service openstack-keystone-setup.service openstack-ceilometer-config-setup.service
Wants=network-online.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/ceilometer-db.yml

[Install]
WantedBy=multi-user.target