devops-coop / ansible-haproxy

Installs and configure HAProxy
Apache License 2.0
96 stars 97 forks source link

several warnings in ansible 2.0.x #41

Closed ozbillwang closed 8 years ago

ozbillwang commented 8 years ago
  1. tasks/install.yml
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).
This feature will be removed in a future release. Deprecation
 warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [haproxy : Check epel repo] ***********************************************
 [WARNING]: Consider using yum module rather than running yum
TASK [haproxy : Build up the listen sections] **********************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{haproxy_listen}}').
This feature will
be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ozbillwang commented 8 years ago

just warning, not problem, closed it.

PierrePaul commented 8 years ago

Thanks for the report, I'm reopening, we should fix this.