summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/custom-actions/add-cas.yml
blob: b2c195f91e3ef385923eb02ed6c3ed1359d151e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- hosts: cluster_hosts
  become: true
  vars:
    ca_files: []
  tasks:
  - name: Copy CAs to the trusted CAs location
    with_items: "{{ ca_files }}"
    copy:
      src: "{{ item }}"
      dest: /etc/pki/ca-trust/source/anchors/
  - name: Update trusted CAs
    shell: 'update-ca-trust enable && update-ca-trust extract'