|
|
|
@ -12,6 +12,13 @@ |
|
|
|
|
when: ansible_os_family == 'Debian' |
|
|
|
|
changed_when: false |
|
|
|
|
|
|
|
|
|
- name: Install python packages |
|
|
|
|
apt: |
|
|
|
|
name: |
|
|
|
|
- "python{{ '3' if ansible_python.version.major == 3 else '' }}-dev" |
|
|
|
|
- "python{{ '3' if ansible_python.version.major == 3 else '' }}-setuptools" |
|
|
|
|
- "python{{ '3' if ansible_python.version.major == 3 else '' }}-pip" |
|
|
|
|
|
|
|
|
|
- name: "Create directories" |
|
|
|
|
file: |
|
|
|
|
path: /var/www/{{ item }} |
|
|
|
|