summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
blob: 9ea04c1d27446fa3cafa9a155100fb913674dda4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Run keystone-setup Ansible scripts
After=local-fs.target postgres-server.service
ConditionPathExists=/etc/openstack/keystone.conf

[Service]
# Oneshot, since others setup have to wait until this service finishes
Type=oneshot
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/keystone.yml

[Install]
WantedBy=multi-user.target