Anton Shestakov <av6@dwimlabs.net>, Mon, 02 Jul 2018 13:50:36 +0800
pipelines: install make
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 }}'