11 Commits

2 changed files with 37 additions and 4 deletions

30
meta/main.yml Normal file
View File

@@ -0,0 +1,30 @@
---
galaxy_info:
author: Aaron Guise
description:
company: Ultrafast Fibre Limited
license: MIT
min_ansible_version: 2.0
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
# platform on this list, let us know and we'll get it added!
#
platforms:
- name: EL
versions:
- 6
- 7
- 8
#
# Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role.
#
categories:
- system
dependencies: []
# List your role dependencies here, one per line.
# Be sure to remove the '[]' above if you add dependencies
# to this list.

View File

@@ -1,9 +1,12 @@
---
---
- name: Copy public certificate files
copy:
src: ca_certs/
dest: /etc/pki/ca-trust/source/anchors
copy:
src: "{{ item }}"
dest: /etc/pki/ca-trust/source/anchors/
become: true
with_fileglob:
- "{{ playbook_dir }}/files/ca_certs/*.pem"
- "{{ playbook_dir }}/files/ca_certs/*.cer"
notify: Update Trust Store
- meta: flush_handlers