summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
blob: 2406513cd7b612bd2e75801ea00987c2b45f10bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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
RemainAfterExit=yes
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