Changement variables d'environnement AAP_RESSOURCES

This commit is contained in:
Navas 2024-08-06 18:09:02 +02:00
parent 81e56ec817
commit 586838066e

View file

@ -185,10 +185,10 @@
- name: Copie le certificat wildcard
ansible.builtin.get_url:
url: "{{ lookup('env', 'ANSIBLE_RESSOURCES_URL') }}/libretic/cert/libretic.fr/fullchain1.pem"
url: "{{ lookup('env', 'AAP_RESSOURCES_URL') }}/libretic/cert/libretic.fr/fullchain1.pem"
dest: "/etc/ssl/certs/libretic.fr.pem"
username: "{{ lookup('env', 'ANSIBLE_RESSOURCES_USER') }}"
password: "{{ lookup('env', 'ANSIBLE_RESSOURCES_PASSWORD') }}"
username: "{{ lookup('env', 'AAP_RESSOURCES_USER') }}"
password: "{{ lookup('env', 'AAP_RESSOURCES_PASSWORD') }}"
mode: u=rw,g=r,o=r
owner: root
group: root
@ -197,10 +197,10 @@
- name: Copie la clé du certificat wildcard
ansible.builtin.get_url:
url: "{{ lookup('env', 'ANSIBLE_RESSOURCES_URL') }}/libretic/cert/libretic.fr/privkey1.pem"
url: "{{ lookup('env', 'AAP_RESSOURCES_URL') }}/libretic/cert/libretic.fr/privkey1.pem"
dest: "/etc/ssl/private/libretic.fr.key"
username: "{{ lookup('env', 'ANSIBLE_RESSOURCES_USER') }}"
password: "{{ lookup('env', 'ANSIBLE_RESSOURCES_PASSWORD') }}"
username: "{{ lookup('env', 'AAP_RESSOURCES_USER') }}"
password: "{{ lookup('env', 'AAP_RESSOURCES_PASSWORD') }}"
mode: u=rw,g=r,o=
owner: root
group: root