On Tue, 26 Oct 2021 at 02:31, steve missoh wrote:
> yeah ..but he wants multiple keys to be shipped at once.
> so the solution is to keep everything as it is and replace *with_key*
> with *with_file*
>
>
And make sure with_file is indented correctly.
As shown on
https://docs.ansible.com/ansible/l
yeah ..but he wants multiple keys to be shipped at once.
so the solution is to keep everything as it is and replace *with_key* with
*with_file*
Regards.
Le samedi 23 octobre 2021 à 08:03:18 UTC+2, dick@geant.org a écrit :
> On Sat, 23 Oct 2021 at 00:49, Ndricim Danaj wrote:
>
>> TASK [Set
On Sat, 23 Oct 2021 at 00:49, Ndricim Danaj
wrote:
> TASK [Set up multiple authorized ssh]
> **
> fatal: [web1]: FAILED! => {"msg": "The task includes an option with an
> undefined variable. The error was: 'item' is undefined\n\nThe error appears
> to be in
Hi,
"with_key:" should actually be "with_items"
Alex
On Fri, Oct 22, 2021 at 4:49 PM Ndricim Danaj
wrote:
> TASK [Set up multiple authorized ssh]
> **
> fatal: [web1]: FAILED! => {"msg": "The task includes an option with an
> undefined variable. The err
TASK [Set up multiple authorized ssh]
**
fatal: [web1]: FAILED! => {"msg": "The task includes an option with an
undefined variable. The error was: 'item' is undefined\n\nThe error appears
to be in '/home/ndricim/playbooks/00.yml': line 5, column 9, but may