thefinn93 / ansible-letsencrypt

An ansible role to generate TLS certificates and get them signed by Let's Encrypt
GNU General Public License v3.0
442 stars 122 forks source link

change the deprecated action 'include' to the new action 'import_tasks' #67

Closed proelbtn closed 6 years ago

proelbtn commented 6 years ago

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.
...