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-08 18:29:29 +0100
commit367614e9f1dcc5c136df6df758d6ac5e85258f5f (patch)
treed5babc97d8ed3dbf8b18a22d136e31fade7c0699 /openstack/etc/systemd/system/openstack-horizon-setup.service
parente688fc66d9b310195d27736028c18af11dd16efc (diff)
downloaddefinitions-367614e9f1dcc5c136df6df758d6ac5e85258f5f.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