Terry Howe

Results 339 comments of Terry Howe

I've fixed merge conflicts and pushed to a new branch https://github.com/TerryHowe/ansible-modules-hashivault/pull/315 but I'm going to leave this open a bit to get some more info out of this PR.

Maybe if rotation wasn't specified and this line was removed https://github.com/TerryHowe/ansible-modules-hashivault/blob/main/ansible/modules/hashivault/hashivault_db_secret_engine_config.py#L127 I'm just concerned about the ramifications of that. I don't recall why that line is there in the first...

I've seen this before and it is really an ansible issue: https://github.com/ansible/ansible/issues/17324 On Sun, Mar 12, 2017 at 3:11 PM, michalmedvecky wrote: > Sample: > > - hosts: localhost >...

In theory this should work too: ``` - hosts: localhost vars: - key: &key "key123" - value: "value123" tasks: - hashivault_write: secret: "/cesta/k/jebnutemu/secretu" data: *key: "{{ value }}" ```

Reopening this to document this common issue

Something like this probably https://github.com/TerryHowe/ansible-modules-hashivault/blob/main/ansible/modules/hashivault/hashivault_oidc_auth_role.py#L65 Not hard to do, just adding the docs, parameters and any desired state type logic

Yes on Xenial: ``` root@sandbox:/usr/local/lib/python2.7# find / -name module_utils /usr/local/lib/python2.7/dist-packages/ansible/module_utils /usr/lib/python2.7/dist-packages/ansible/module_utils ```

Two possible solutions: 1. Add a package to ubuntu or a ppa to install hashivault 2. Perhaps there is some environment variable to determine the location of ansible for pip

For now, the work around is going to have to be use pip to install ansible on ubuntu