summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/openstack-horizon-setup.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-27 11:26:17 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-10 10:55:33 +0000
commit973b9172664378406e7c844906277dce894f1467 (patch)
tree5a25979bfe457577f11dfcedf79b99f4e943ae31 /openstack/etc/systemd/system/openstack-horizon-setup.service
parent9ad5d43eb64e1b4d42e27127a58a55ca655373e8 (diff)
downloaddefinitions-973b9172664378406e7c844906277dce894f1467.tar.gz
horizon: Move setup scripts to Ansible.
Now horizon-setup also configures Apache, given that they will be in the same host. This can be split in different setup scripts.
Diffstat (limited to 'openstack/etc/systemd/system/openstack-horizon-setup.service')
-rw-r--r--openstack/etc/systemd/system/openstack-horizon-setup.service6
1 files changed, 2 insertions, 4 deletions
diff --git a/openstack/etc/systemd/system/openstack-horizon-setup.service b/openstack/etc/systemd/system/openstack-horizon-setup.service
index 082ec372..9805a38f 100644
--- a/openstack/etc/systemd/system/openstack-horizon-setup.service
+++ b/openstack/etc/systemd/system/openstack-horizon-setup.service
@@ -1,11 +1,9 @@
[Unit]
-Description=Run openstack-horizon-setup (once)
+Description=Run horizon-setup Ansible scripts
After=local-fs.target
[Service]
-Type=oneshot
-ExecStart=/usr/share/openstack/openstack-horizon-setup
-Restart=no
+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