From 7a8224f42ceba6e5380270950ae25aab8bf6c795 Mon Sep 17 00:00:00 2001 From: Michael Rennecke Date: Sat, 6 Jun 2020 18:45:26 +0200 Subject: [PATCH] install python-docker only on mail.0rpheus.net and odroid.lan.0rpheus.net --- common.yaml | 13 +++++++++++++ roles/common/tasks/packages.yaml | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/common.yaml b/common.yaml index 08b3cc2..bc60ada 100644 --- a/common.yaml +++ b/common.yaml @@ -4,12 +4,25 @@ roles: - common + +- hosts: mail.0rpheus.net:odroid.lan.0rpheus.net + gather_facts: false + tasks: + - name: install docker related packages + apt: + name: + - python-docker + + - hosts: mail.0rpheus.net + gather_facts: false roles: - haproxy - bitwarden - nextcloud + - hosts: dnsmasq.lan.0rpheus.net + gather_facts: false roles: - dnsmasq diff --git a/roles/common/tasks/packages.yaml b/roles/common/tasks/packages.yaml index 0fded82..c0f7015 100644 --- a/roles/common/tasks/packages.yaml +++ b/roles/common/tasks/packages.yaml @@ -6,5 +6,4 @@ - vim - htop - telnet - - python-docker state: latest