Maciej Kwiek e51ac240c3 Change sudo to become in ansible resources
As we are using ansible 2.0, we should move from sudo to become to avoid
deprecation.

Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f
Closes-bug: 1547430
2016-02-22 10:05:54 +01:00
..

haproxy_config resource

This resource represents configuration for the haproxy_service resource. Each service represented by Haproxy is connected to this resource via haproxy_service_config resource. This is because in Haproxy there is no support for something like /etc/haproxy/conf.d directory where you put each config in a separate file, but instead you must collect all configuration in one file.

So this resource renders this file from data provided by collecting individual haproxy_service_config data.