mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 23:51:23 -07:00
[PR #9845/7d5357d7 backport][stable-9] Fix roles/policies normalization in consul_token. (#9862)
Fix roles/policies normalization in consul_token. (#9845)
* Fix roles/policies normalization in consul_token.
* Update changelogs/fragments/9845-consul_token_idempotency.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 7d5357d74c
)
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
This commit is contained in:
parent
de754eacbc
commit
3c49c096a9
3 changed files with 4 additions and 2 deletions
|
@ -67,7 +67,7 @@
|
|||
state: present
|
||||
accessor_id: 07a7de84-c9c7-448a-99cc-beaf682efd21
|
||||
policies:
|
||||
- id: "{{ create_result.token.Policies[-1].ID }}"
|
||||
- name: foo-access2
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue