---
- name: superduper playbook
hosts: aws-region1
remote_user: mesrine
pre_tasks:
- include_vars: "{{ env }}/group_vars/vancouver"
when: region is defined and region == 'van'
...snipped...
我希望执行include_vars
任务,无论传入的是什么标记。现在,传入的任何标记都会过滤掉我的include_vars
预先任务。