|
|
---
|
|
|
- hosts: 127.0.0.1
|
|
|
vars_files:
|
|
|
- extra_vars/all.yml
|
|
|
vars:
|
|
|
qcloud_key: "{{ lookup('hashi_vault', 'secret=yoho/ops/qcloud token=27CLyZvYcqawMn7UALUMzRbH url=http://10.66.107.2:8200') }}"
|
|
|
qcloud_key: "{{ lookup('hashi_vault', 'secret=yoho/ops/qcloud token='+'{{vault.token}}'+' url='+'{{vault.server}}') }}"
|
|
|
module: testsearch_to_az2
|
|
|
tasks:
|
|
|
- fail: msg="module is not defined'"
|
...
|
...
|
|