in Ansible by
How do you access Shell Environment Variables?

1 Answer

0 votes
If you are just looking to access the existing variables then you can use “env” lookup plugin.

For example:

Accessing the value of Home environment variable on management machine:

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

0 votes
asked May 14, 2020 in DevOps by sharadyadav1986
0 votes
asked Oct 7, 2020 in Ansible by Robindeniel