---
- hosts: local
remote_user: root
tasks:
- name: debug
debug:
msg: "v is {{ item }}"
with_items:
- "{{ v | default(10) }}"
标签:10,变量,AnsiblePlaybook,设置,debug,默认值
From: https://www.cnblogs.com/liy36/p/16908119.html