我对 ansible 数组有疑问。
我有这样的任务:
tasks:
- name: create member and add to pool
bigip_pool_member:
pool: "{{pool_name}}"
partition: "{{partition}}"
host: "{{ip}}"
name: "{{ip}}"
port: "{{port}}"
monitors:
- "{{item}}"
loop: "{{monitor}}"
description: "{{description_member}}"
provider:
####
我想向池中添加多个监视器。只是它不起作用。我需要在一项任务中执行此操作。我该怎么做呢?