On 11/20/20 8:43 PM, 'Chris Bidwell - NOAA Federal' via Ansible Project wrote:
> Hi all,
>
> I tried this:
> - name: Install Wazuh-agent
> yum:
> name: wazuh-agent
> state: latest
> environment: "WAZUH_MANAGER='10.0.0.2'"
>
Chris, the environment task parameter
Hi all,
I tried this:
- name: Install Wazuh-agent
yum:
name: wazuh-agent
state: latest
environment: "WAZUH_MANAGER='10.0.0.2'"
And this was my result:
TASK [Install Wazuh-agent]
Try the yum module and a custom environment variable:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_environment.html#setting-the-remote-environment-in-a-task
On Fri, 20 Nov 2020 at 17:55, 'Chris Bidwell - NOAA Federal' via
Ansible Project wrote:
>
> Hi all! Curious how I could do
Hi all! Curious how I could do this using the yum module, or should I just
run this command as shell or "command"?
WAZUH_MANAGER="10.0.0.2" yum install wazuh-agent
So essentially setting this variable and applying it to this install.
--
You received this message because you are subscribed to
Thanks again Vladimir. json_query was the answer again. Need to read up
on that some more to understand the syntax. These examples are
extremely helpful.
Again thank you for taking the time
On Fri, Nov 20, 2020 at 1:36 AM Vladimir Botka wrote:
> On Thu, 19 Nov 2020 14:20:30 -0800 (PST)
>