summaryrefslogtreecommitdiff
path: root/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service
blob: ccfbcbe6058f8610b69394e0390758c114a0f07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Run swift-controller-setup (once)
After=local-fs.target network-online.target postgres-server-setup.service openstack-keystone-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/swift-controller.yml
Restart=no

[Install]
WantedBy=multi-user.target