[ansible-project] want to pass output of external shell script as variable to ansible task

2021-12-12 Thread devopstrainer1
*I have a scenario where i have a shell script running externally which at every execution generates dynamic value(can't add it as ansible task since it is not being executed on any inventory host), i want to use output of this shell script as variable in my current ansible playbook.* *Any

[ansible-project] fancy index error in community.general.nsupdate

2021-12-12 Thread Axel Rau
After fixing the argument issue, I’m stuck with this: I have a role lr_nsupdate so: - - - - name: Show calling args debug: var: ca - name: Update DNS master server community.general.nsupdate: key_name: '{{ key_name }}' key_algorithm: '{{ algorithm }}' key_secret: '{{ secret

Re: [ansible-project][RESOLVED] Unknown error with arguments of roles

2021-12-12 Thread Axel Rau
> Am 12.12.2021 um 13:58 schrieb Jorge Rúa : > > You either change it to ca.ca.owner_name or remove the second 'ca' for each > dict member. Naturally of course, (-; Thanks, Axel --- PGP-Key: CDE74120 ☀ computing @ chaos claudius -- You received this message because you are subscribed to

Re: [ansible-project] Unknown error with arguments of roles

2021-12-12 Thread Jorge Rúa
You either change it to ca.ca.owner_name or remove the second 'ca' for each dict member. On Sun, Dec 12, 2021, 13:51 Axel Rau wrote: > Hi all, > > I have a role lr_nsupdate so: > - - - > - name: Show calling args > debug: > var: ca > > - name: Update DNS master server >

[ansible-project] Unknown error with arguments of roles

2021-12-12 Thread Axel Rau
Hi all, I have a role lr_nsupdate so: - - - - name: Show calling args debug: var: ca - name: Update DNS master server community.general.nsupdate: key_name: '{{ key_name }}' key_algorithm: '{{ algorithm }}' key_secret: '{{ secret }}' server: '{{ server }}' zone: '{{