I was kind of expecting something like that... It's a pity, but thanks a
lot for clarifying this!
El mar, 24 may 2022 a la(s) 10:58, Brian Coca (bc...@redhat.com) escribió:
> no such facility exists, each task runs in a fork so even if you
> change the environment successfully with a action plugi
Thanks for your answer Brian! So you say there's no way? It doesn't have
to be inline in the task itself. If there's some task that can modify the
controller environment beforehand that's good enough...
El jueves, 19 de mayo de 2022 a la(s) 10:33:57 UTC-3, Brian Coca escribió:
> The 'environme
Hi community! I have a simple, newbie question related to setting the
environment for plugins. This playbook illustrates my problem:
---
- name: env behaviour
hosts: localhost
gather_facts: no
environment:
MY_VAR: foo
tasks:
- name: shell w/environment
shell: echo $MY_VAR