Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_iesample
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
ansible_lza_iesample
Commits
6056e51d
Commit
6056e51d
authored
1 year ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
fix: remove proxy settings even if values from Ansible Vault are not available
parent
e4ceda16
No related branches found
No related tags found
No related merge requests found
Pipeline
#5529
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/configure_proxy.yml
+1
-17
1 addition, 17 deletions
tasks/configure_proxy.yml
with
1 addition
and
17 deletions
tasks/configure_proxy.yml
+
1
−
17
View file @
6056e51d
...
@@ -8,25 +8,9 @@
...
@@ -8,25 +8,9 @@
owner
:
"
root"
owner
:
"
root"
group
:
"
root"
group
:
"
root"
state
:
absent
state
:
absent
block
:
|
### HTTP:
# http_proxy=http://<Benutzername>:<Passwort>@<Proxy>:<Port>
http_proxy=http://{{ vault_proxy_hostname }}.{{ vault_proxy_domain }}:{{ vault_proxy_http_port }}
#Der Benutzer und das Passwort müssen lediglich bei geforderter
#Authentifizierung angegeben werden. Ansonsten einfach den Proxy und
#den Port angeben.
### HTTPS:
# https_proxy=https://<Benutzername>:<Passwort>@<Proxy>:<Port>
# https_proxy=https://{{ vault_proxy_hostname }}.{{ vault_proxy_domain }}:{{ vault_proxy_https_port }}
# no_proxy=localhost,<auszuschließende Domains>
no_proxy=localhost,127.0.0.1,{{ ansible_hostname }},{{ ansible_hostname }}.{{ vault_proxy_domain }},{{ vault_no_proxy }}
soap_use_proxy=on
insertafter
:
EOF
-
name
:
Konfigurationsdateien einspielen - apt-get fuer Proxyverwendung konfigurieren
-
name
:
Konfigurationsdateien einspielen - apt-get fuer Proxyverwendung konfigurieren
ansible.builtin.lineinfile
:
ansible.builtin.lineinfile
:
dest
:
"
/etc/apt/apt.conf.d/70debconf"
dest
:
"
/etc/apt/apt.conf.d/70debconf"
line
:
'
Acquire::http::Proxy
{
"http://
{{
vault_proxy_hostname
}}.{{
vault_proxy_domain
}}:{{
vault_proxy_http_port
}}"
};
'
regexp
:
'
^
Acquire::http::Proxy
{
"http://'
state
:
absent
state
:
absent
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment