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
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:46 +0100
commitdc901c3b9998835acb1f284f0c5e34458ad3c562 (patch)
tree0754cd1210bce6d9ceecfb831515e803212c7009 /openstack/etc/systemd/system/openstack-horizon-setup.service
parent7a70cdae735d3f051cc045ee5fb1de365755f6e4 (diff)
downloaddefinitions-dc901c3b9998835acb1f284f0c5e34458ad3c562.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