Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
Tools
Ansible
Roles
FreeIPA LE CA
Compare revisions
ccae79e69ed79ec7e714f8744685544a467a544c to 848954539632076eacacc065e43232046596c10b
Commits on Source (2)
>_<
· 3477b9d1
Дмитрий Сафронов
authored
May 27, 2021
3477b9d1
Merge branch 'fix' into 'master'
· 84895453
Дмитрий Сафронов
authored
May 26, 2021
>_< See merge request ansible/roles/freeipa_le_ca!3
84895453
Hide whitespace changes
Inline
Side-by-side
tasks/main.yml
View file @
84895453
...
...
@@ -2,23 +2,18 @@
-
name
:
Create a directory for LE CA certs
ansible.builtin.file
:
path
:
/
tmp/letsencrypt
path
:
/
var/tmp/freeipa_le_ca
state
:
directory
mode
:
'
0750'
-
name
:
Download LE CA certs
ansible.builtin.get_url
:
url
:
"
https://letsencrypt.org/certs/{{
item
}}"
dest
:
"
/
tmp/letsencrypt
/{{
item
}}"
dest
:
"
/
var/tmp/freeipa_le_ca
/{{
item
}}"
mode
:
'
0640'
with_items
:
"
{{
le_ca_certs
|
list
}}"
-
name
:
Install LE CA certs
ansible.builtin.shell
:
ipa-cacert-manage install "/
tmp/letsencrypt
/{{ item }}"
ansible.builtin.shell
:
ipa-cacert-manage install "/
var/tmp/freeipa_le_ca
/{{ item }}"
changed_when
:
False
with_items
:
"
{{
le_ca_certs
|
list
}}"
-
name
:
Delete directory for LE CA certs
ansible.builtin.file
:
path
:
/tmp/letsencrypt
state
:
absent