diff options
Diffstat (limited to 'salt')
| -rw-r--r-- | salt/openbook/ansible/files/ssl.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/salt/openbook/ansible/files/ssl.yaml b/salt/openbook/ansible/files/ssl.yaml index 0f662ac..5670375 100644 --- a/salt/openbook/ansible/files/ssl.yaml +++ b/salt/openbook/ansible/files/ssl.yaml @@ -2,6 +2,23 @@ - name: "SSL cert" hosts: target tasks: + - name: "Install ca-certificates" + apt: + pkg: "{{ item }}" + state: present + with_items: + - ca-certificates + when: ansible_distribution == "Ubuntu" + + - name: "Install ca-certificates" + portage: + package: "{{ item }}" + update: yes + changed_use: yes + with_items: + - app-misc/ca-certificates + when: ansible_distribution == "Gentoo" + - name: "Create self-signed SSL cert" shell: cmd: | |
