diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-05-22 11:50:10 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-05-22 11:50:10 +0200 |
commit | fda2fe7948d4d437e1f7a6e21cc07724d1e16bdb (patch) | |
tree | 2c59a70cadf040c2ae43879480a053f207be2249 /roles/common | |
parent | e9c547aa1aa29e15e73a4b749c16492e1449f492 (diff) | |
download | playbooks-ansible-fda2fe7948d4d437e1f7a6e21cc07724d1e16bdb.tar.gz playbooks-ansible-fda2fe7948d4d437e1f7a6e21cc07724d1e16bdb.tar.xz playbooks-ansible-fda2fe7948d4d437e1f7a6e21cc07724d1e16bdb.zip |
Revert "Create catrust role needed to run before common role"
This reverts commit c25b2229d3e03255a69f42175e9fe7979a9d78b4.
Handlers of catrust role is not launched before the start of
common role.
Diffstat (limited to 'roles/common')
-rw-r--r-- | roles/common/tasks/ca.yml | 8 | ||||
-rw-r--r-- | roles/common/tasks/main.yml | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/roles/common/tasks/ca.yml b/roles/common/tasks/ca.yml new file mode 100644 index 0000000..2bf0e0d --- /dev/null +++ b/roles/common/tasks/ca.yml @@ -0,0 +1,8 @@ +- name: Installation de mon autorité de certification + copy: src=root.pem dest=/etc/pki/ca-trust/source/anchors/root.pem mode=444 + +- name: Installation de l'autorité de certification CACert + copy: src=cacert.pem dest=/etc/pki/ca-trust/source/anchors/cacert.pem mode=444 + +- name: Mise à jour de la base de confiance CA + command: /usr/bin/update-ca-trust diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 6d3e2ef..afaa4cb 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -13,6 +13,9 @@ - name: Configurations variables fichier setvars include: setvars.yml +- name: Gestion des Autorités de Certification + include: ca.yml + - name: Configuration Yum include: yum.yml |