mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
Only install docker-python if matrix_docker_installation_enabled
Should help with #300 (Github Issue).
This commit is contained in:
parent
4d260c0dd5
commit
9a43cc02e0
@ -20,7 +20,6 @@
|
|||||||
- name: Ensure yum packages are installed
|
- name: Ensure yum packages are installed
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- docker-python
|
|
||||||
- "{{ matrix_ntpd_package }}"
|
- "{{ matrix_ntpd_package }}"
|
||||||
- fuse
|
- fuse
|
||||||
state: latest
|
state: latest
|
||||||
@ -30,5 +29,6 @@
|
|||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- "{{ matrix_docker_package_name }}"
|
- "{{ matrix_docker_package_name }}"
|
||||||
|
- docker-python
|
||||||
state: latest
|
state: latest
|
||||||
when: matrix_docker_installation_enabled|bool
|
when: matrix_docker_installation_enabled|bool
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
- name: Ensure APT packages are installed
|
- name: Ensure APT packages are installed
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- "python{{'3' if ansible_python.version.major == 3 else ''}}-docker"
|
|
||||||
- "{{ matrix_ntpd_package }}"
|
- "{{ matrix_ntpd_package }}"
|
||||||
- fuse
|
- fuse
|
||||||
state: latest
|
state: latest
|
||||||
@ -37,5 +36,6 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- "{{ matrix_docker_package_name }}"
|
- "{{ matrix_docker_package_name }}"
|
||||||
|
- "python{{'3' if ansible_python.version.major == 3 else ''}}-docker"
|
||||||
state: latest
|
state: latest
|
||||||
when: matrix_docker_installation_enabled|bool
|
when: matrix_docker_installation_enabled|bool
|
||||||
|
Loading…
Reference in New Issue
Block a user