blob: 202c0636a39620ac46a7736cd1add5db37a16efe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Run postgres-setup Ansible scripts
ConditionPathExists=/etc/openstack/postgres.conf
After=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/openstack/hosts /usr/share/openstack/postgres.yml
[Install]
WantedBy=multi-user.target
|