summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
blob: b53487358f66e2b277e0bb30ec6d0ddfc254fdc5 (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-setup.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