Oct 7, 2020 in Ansible
Q: How do you access shell environment variables?

1 Answer

0 votes
Oct 7, 2020
1) The existing variables of the controlling machine can be accessed by using the “env” lookup plugin.

2) For example; to get the value of the management machine’s home environment variables, you can enter:

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

Related questions

0 votes
May 14, 2020 in DevOps