diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-27 11:26:17 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-08 15:46:37 +0000 |
commit | 2ec1da452fcb339478cff8ac5e3a077705d17867 (patch) | |
tree | 004674a5c7670626ba8fce22c9fedef62dc06d82 /openstack/etc/systemd/system/openstack-horizon-setup.service | |
parent | 03658c7fbba61bf5ba33279502afbd8142f0448c (diff) | |
download | definitions-2ec1da452fcb339478cff8ac5e3a077705d17867.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.service | 6 |
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 |