Move SSL-required package into https role

This commit is contained in:
Salt 2020-02-10 01:05:38 -06:00
parent 0758ac1908
commit 685a20bca6
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,9 @@
--- ---
- name: "Register certificate for {{ website_url }}" - name: "Register certificate for {{ website_url }}"
block: block:
- name: Install SSL-required packages
apt:
name: python-openssl
- name: Set up PKI filesystem hierarchy - name: Set up PKI filesystem hierarchy
file: file:
path: "{{ item.dir }}" path: "{{ item.dir }}"

View File

@ -25,7 +25,6 @@
- php7.2-zip - php7.2-zip
- php7.2-cgi - php7.2-cgi
- php7.2-cli - php7.2-cli
- python-openssl # Needed for keygen
- name: Copy configuration - name: Copy configuration
copy: copy:
src: "{{ item.src }}" src: "{{ item.src }}"