From f02cf7b0ccadf6d80997bd5e4044a3a85ecdbd66 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Mon, 8 May 2023 16:26:16 -0400 Subject: [PATCH] Refactor docker playbook - Removed copyright notice - Variablize 'hosts' value in the playbook - Install Jenkins agent before running Docker role --- docker.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/docker.yml b/docker.yml index 4291585..08f8ec1 100644 --- a/docker.yml +++ b/docker.yml @@ -1,21 +1,7 @@ -# Copyright (C) 2020 Kris Lamoureux -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, version 3 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - name: Install Docker Server - hosts: dockerhosts + hosts: "{{ PLAYBOOK_HOST | default('none') }}" become: true roles: - base - - docker - jenkins + - docker