postgresql
postgresql copied to clipboard
Added sysconfig support for non-container images
I noticed that this role utilizes containers and systemd was set up by default. Wanted to add support for sysconfig for non-container images.
I think this is fine, but should it always happen? We don't necessarily want to change the default behavior.
@otakup0pe I did add a check to see if there was a sysconfig directory. I believe centos/rhel docker container images do not have that set up and this role is expecting supervisord to be configured. If you look at the job log, it'll skip the non-container tasks.
https://travis-ci.org/ANXS/postgresql/jobs/198116075#L1295-L1300