Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
supplemental
Commits
368bbc57
Commit
368bbc57
authored
Jun 11, 2020
by
Thomas Schneider
Browse files
Fix CA certificate installation
parent
85b1a98b
Changes
2
Hide whitespace changes
Inline
Side-by-side
branding/handlers/main.yml
View file @
368bbc57
...
...
@@ -2,3 +2,6 @@
-
name
:
update apt cache
apt
:
update_cache=yes
-
name
:
update CA certificates
command
:
/usr/sbin/update-ca-certificates
branding/tasks/main.yml
View file @
368bbc57
...
...
@@ -43,7 +43,7 @@
-
name
:
ensure dir for CA certs exisits
file
:
path
:
/
etc/ssl/cert
s
path
:
/
usr/local/share/ca-certificate
s
state
:
directory
owner
:
root
group
:
root
...
...
@@ -56,12 +56,26 @@
-
name
:
ensure deployment of CA certificates
copy
:
src
:
"
{{
item
}}"
dest
:
"
/
etc/ssl/cert
s/{{
item|basename
}}"
dest
:
"
/
usr/local/share/ca-certificate
s/{{
item|basename
}}"
owner
:
root
group
:
root
mode
:
'
0644'
with_items
:
"
{{
branding_cacerts
}}"
when
:
branding_cacerts is defined
notify
:
update CA certificates
tags
:
-
branding
-
tls
-
name
:
remove CA certificates with broken path
file
:
path
:
"
/etc/ssl/certs/{{
item
}}"
state
:
absent
notify
:
update CA certificates
with_items
:
-
rwth_chain.pem
-
rwth_chain_g2.pem
-
asta_ca.pem
tags
:
-
branding
-
tls
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment