Refactor docker playbook
- Removed copyright notice - Variablize 'hosts' value in the playbook - Install Jenkins agent before running Docker role
This commit is contained in:
parent
9142254a57
commit
f02cf7b0cc
18
docker.yml
18
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 <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
- name: Install Docker Server
|
- name: Install Docker Server
|
||||||
hosts: dockerhosts
|
hosts: "{{ PLAYBOOK_HOST | default('none') }}"
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- docker
|
|
||||||
- jenkins
|
- jenkins
|
||||||
|
- docker
|
||||||
|
Loading…
Reference in New Issue
Block a user