You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some warnings in the current 2.0.7 playbook. So it needs to handle them.
The warnings are:
sudo
[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 version 2.9.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
restart_iptables.yml not found
[DEPRECATION WARNING]: Included file '/root/ansible/handlers/common/restart_iptables.yml' not found, however since this include is not explicitly marked as 'static:
yes', we will try and include it dynamically later. In the future, this will be an error unless 'static: no' is used on the include task. If you do not want missing
includes to be considered dynamic, use 'static: yes' on the include or set the global ansible.cfg options to make all includes static for tasks and/or handlers. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
old git version
[WARNING]: Your git version is too old to fully support the depth argument. Falling back to full checkouts.
Invoking "yum" only once while using a loop via squash_actions
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying
`pkg: "{{ item }}"`, please use `pkg: ['nfs-utils']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
jinja2 templating delimiters
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ disklabel }}" not in disk_label.stdout
wget
[WARNING]: Consider using the get_url or uri module rather than running 'wget'. If you need to use command because get_url or uri 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.
/usr/bin/python
[WARNING]: Platform linux on host 172.18.10.6 is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter
could change this. See https://docs.ansible.com/ansible/2.8/reference_appendices/interpreter_discovery.html for more information.
tar
[WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive 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.
The text was updated successfully, but these errors were encountered:
There are some warnings in the current 2.0.7 playbook. So it needs to handle them.
The warnings are:
The text was updated successfully, but these errors were encountered: