Hi @Vivek
So basically when you are working with remote systems, you'll often encounter situations where you need to work with the remote system's environment variable. The environment module lets you set the environment variables of remote systems.
Example:
- hosts: all
remote_user: root
tasks:
- name: Install cobbler
package:
name: cobbler
state: present
environment:
http_proxy: http://proxy.example.com:8080