In my environment, ansible tells me that the action 'include' is deprecated.
[2018/03/18 21:05:26]
proelbtn@Sagiri ~/Workspaces/Projects/cloud
(*'-')/ < ansible-playbook -i server site.yml [master]
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
...
In my environment, ansible tells me that the action 'include' is deprecated.