summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-horizon-setup.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-horizon-setup.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-horizon-setup.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-horizon-setup.service b/openstack/usr/lib/systemd/system/openstack-horizon-setup.service
new file mode 100644
index 00000000..9805a38f
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-horizon-setup.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run horizon-setup Ansible scripts
+After=local-fs.target
+
+[Service]
+ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/horizon.yml
+
+[Install]
+WantedBy=multi-user.target