small fixes for pip and default variables

This commit is contained in:
Robert Kaussow 2018-12-14 00:09:51 +01:00
parent 1c4e8038f1
commit 597a0d5825
3 changed files with 6 additions and 5 deletions

View File

@ -8,11 +8,8 @@
- name: Install required dependencies
pip:
name: "{{ item }}"
name: "{{ __drone_pip_dependencies }}"
state: present
with_items:
- docker
- docker-compose
become: True
become_user: root

View File

@ -1,7 +1,7 @@
---
- name: Concat lists for proxy setup
set_fact:
droneci_no_proxy: "{{ __droneci_default_no_proxy }} + {{ droneci_no_proxy }}"
droneci_no_proxy: "{{ __droneci_default_no_proxy }} + {{ droneci_no_proxy | default([]) }}"
- block:
- name: Deploy compose file to '{{ droneci_service_directory }}'

View File

@ -2,3 +2,7 @@
__droneci_default_no_proxy:
- droneserver
- droneagent
__drone_pip_dependencies:
- docker
- docker-compose