From f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 7 Jul 2017 10:01:07 +0000 Subject: Move old Baserock format definitions into old/ directory --- .../usr/lib/systemd/system/swift-controller-setup.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 old/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service (limited to 'old/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service') diff --git a/old/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service b/old/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service new file mode 100644 index 00000000..ccfbcbe6 --- /dev/null +++ b/old/install-files/openstack/usr/lib/systemd/system/swift-controller-setup.service @@ -0,0 +1,13 @@ +[Unit] +Description=Run swift-controller-setup (once) +After=local-fs.target network-online.target postgres-server-setup.service openstack-keystone-setup.service +Wants=network-online.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-controller.yml +Restart=no + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1