Anton Shestakov <av6@dwimlabs.net>, Sun, 04 Dec 2016 14:29:48 +0800
Makefile: use ampersand in sed expression to refer to the whole string
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 }}'