Skip to content

Commit

Permalink
fix templates
Browse files Browse the repository at this point in the history
  • Loading branch information
andreygubarev committed Jun 6, 2023
1 parent 8b472aa commit e15fbe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
- name: Converge
hosts: all

{%- raw -%}
environment:
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"
{%- endraw -%}

tasks:
- name: "Include {{ cookiecutter.role_name }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
hosts: all
become: true

{%- raw -%}
environment:
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"
{%- endraw -%}

tasks: []

0 comments on commit e15fbe1

Please sign in to comment.