Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Consul のキー/値に対してルックアップを発行する必要があります。この方法でトークンを渡そうとしましたが、まだアクセスが拒否されています。トークンは間違いなく正しいです。
{{ lookup('consul_kv',item,"token=mysecretoken") }}
この構文を試しましたか:
- debug: msg='key contains {{item}}' with_consul_kv: - 'key/to/lookup_one token={{acl_token}}'