use include_tasks instead of include

Change-Id: I1a3e939769d24c1a1c369001baca23378d00d35d
This commit is contained in:
zhulingjie 2018-10-11 14:32:23 -04:00
parent 9b1db346a4
commit 77f7bc828f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- include: "{{ sudoers_task }}.yaml"
- include_tasks: "{{ sudoers_task }}.yaml"
with_items: "{{ sudoers_task_manager }}"
loop_control:
loop_var: sudoers_task