enable automated setup of physical infrastructure
[integration/packaging/ansible-opendaylight.git] / roles / infra / tasks / set_apt_proxy.yml
1 ---
2 - name: Set proxy in apt.conf
3   tags:
4     - proxy
5     - network
6     - packages
7   lineinfile:
8     dest: /etc/apt/apt.conf
9     regexp: '^Acquire::http::Proxy'
10     line: "Acquire::http::Proxy \"{{ lab_http_proxy }}\";"
11     create: yes
12     state: present