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