I saw https://github.com/ansible/ansible/pull/79864 which is related. I am
interested in this as it sounds useful to many. I wildly assume the
solution is obvious. Maybe drop the token into a local dir and a later task
can encrypt any files found in said dir and copy them to the vars dir of
your choice.

On Tue, May 28, 2024 at 8:18 AM Dick Visser <[email protected]> wrote:

>
>
> On Tue, 28 May 2024 at 15:42, Andrew Latham <[email protected]> wrote:
>
>> Unable to test from current location but do you need to delegate_to for
>> this?
>>
>
> Yes, I didn't explicitly mention it, but I'm running all the tasks from a
> dedicated "local" play with these settings:
>
> - name: API tasks
>   hosts: foo_hosts
>   # This is an API-only play, so we run it locally - not from the actual
> hosts
>   connection: local
>   become: false
>   gather_facts: false
>   tags: foo,always
>   run_once: true
>
>   tasks:
>     - name: blah
>     ....
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAF8BbLZ3mhSSEVkr9AJQHuFvk9xjHRPfLqj%2BbgE-0jOMHShTwQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAF8BbLZ3mhSSEVkr9AJQHuFvk9xjHRPfLqj%2BbgE-0jOMHShTwQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
- Andrew "lathama" Latham -

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2Bqj4S-PTNUHyUZK7rudfV1sn1YaBwR6AWWQvtZF_BnBQ3voPg%40mail.gmail.com.

Reply via email to