Anton Shestakov <av6@dwimlabs.net>, Tue, 19 Jun 2018 17:25:53 +0800
templates: UIkit 2.27.5
contrib/provision/roles/certs/tasks/main.yml
Permissions: -rw-r--r--
- name: Make sure {{ path }} exists - name: Make sure domain directories exist path: '{{ path }}/{{ item }}' with_items: '{{ selfsigned }}' - name: Generate private keys -out '{{ path }}/{{ item }}/clean.key' creates: '{{ path }}/{{ item }}/clean.key' with_items: '{{ selfsigned }}' - name: Set permissions for private keys path: '{{ path }}/{{ item }}/clean.key' with_items: '{{ selfsigned }}' - name: Generate self-signed certificates -key '{{ path }}/{{ item }}/clean.key' -out '{{ path }}/{{ item }}/selfsigned.pem' creates: '{{ path }}/{{ item }}/selfsigned.pem' with_items: '{{ selfsigned }}' - name: Set permissions for self-signed certificates path: '{{ path }}/{{ item }}/selfsigned.pem' with_items: '{{ selfsigned }}'