diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-02-06 07:33:16 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-02-06 07:33:16 -0700 |
| commit | caabc5f89a23a225c0baf6137d7cc7a661c92131 (patch) | |
| tree | 948bce3840cb04e993eb6864314747421e74db39 /salt/openbook | |
| parent | 4dc13921bbb3a1f4307ba3a465971738163ebd86 (diff) | |
Added installation of ca-certificates to ssl.yaml
Diffstat (limited to 'salt/openbook')
| -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: | |
