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