Ansible deprecation warning #4

Open
opened 2018-08-23 10:10:59 +00:00 by paspo · 0 comments
Owner

When I execute
ansible-playbook setup.yml
I get a lot of these messages in console's output.

[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False 
in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|success` use `result is success`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False 
in ansible.cfg.
 [WARNING]: Consider using the yum, dnf or zypper module rather than running rpm.  If you need to use command because yum, dnf or zypper is insufficient you can add warn=False to this command task or set command_warnings=False in
ansible.cfg to get rid of this message.
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: 'NameServers={{ ansible_local.domain.extdnsserver1 }}' not in chk_dns.stdout

It's not a problem at the moment, but please consider fixing it.

When I execute ansible-playbook setup.yml I get a lot of these messages in console's output. ``` [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|success` use `result is success`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the yum, dnf or zypper module rather than running rpm. If you need to use command because yum, dnf or zypper is insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: 'NameServers={{ ansible_local.domain.extdnsserver1 }}' not in chk_dns.stdout ``` It's not a problem at the moment, but please consider fixing it.
paspo added the
enhancement
label 2018-08-23 10:10:59 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LibreSchool/server-config#4
No description provided.