diff options
| author | ckonstanski <ckonstanski@pippiandcarlos.com> | 2018-02-06 14:42:25 +0000 |
|---|---|---|
| committer | ckonstanski <ckonstanski@pippiandcarlos.com> | 2018-02-06 14:42:25 +0000 |
| commit | 0d97473a8a4f91d60e8fec60f9b09e61f56141fa (patch) | |
| tree | 6da3766b676cc6a01195b216a4f92d0db798f2d2 /playbooks | |
| parent | 4820c610cc4fb459f3f8906ec6d10f76555bde0f (diff) | |
autocommit Tue Feb 6 14:42:25 UTC 2018
Diffstat (limited to 'playbooks')
| -rw-r--r-- | playbooks/ssl.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/playbooks/ssl.yaml b/playbooks/ssl.yaml index 0f662ac..5670375 100644 --- a/playbooks/ssl.yaml +++ b/playbooks/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: | |
