Anton Shestakov <av6@dwimlabs.net>, Thu, 07 Jul 2016 00:12:35 +0800
provision: update tasks to use more YAMLy syntax
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 }}'