--- - name: Install NGINX GeoIP hosts: all become: yes become_method: sudo gather_facts: yes roles: - role: nginx_geoip environment: http_proxy: "{{PROXY}}" https_proxy: "{{PROXY}}"