-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
dockerhost.yml
40 lines (39 loc) · 1.23 KB
/
dockerhost.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
###################################
# AdoptOpenJDK - Ansible Playbook #
###################################
# Groups can be passed in as a command-line variable in Ansible playbook.
# It can be defined as 'all' or a specific group which the host belongs to.
# For example, it can be 'all' or 'x86' for when a host is in the group 'x86'.
#- hosts: "{{ Groups | default('localhost:docker:!*zos*:!*win*:!*aix*') }}"
- name: Ansible dockerhost playbook
hosts: all
gather_facts: yes
tasks:
- name: Load Variables
block:
# Set standard variables
- name: Load AdoptOpenJDKs variable file
include_vars: group_vars/all/adoptopenjdk_variables.yml
#########
# Roles #
#########
roles:
- Debug
- Version
- adopt_etc
- Providers # AdoptOpenJDK Infrastructure
- Get_Vendor_Files
- Jenkins_User # AdoptOpenJDK Infrastructure
- Superuser # AdoptOpenJDK Infrastructure
- role: Swap_File
- role: Crontab
- role: adoptopenjdk_install
jdk_version: 21
- role: Nagios_Plugins # AdoptOpenJDK Infrastructure
tags: [nagios_plugins, adoptopenjdk]
- Security
- Vendor
- IPv6
- Docker
- DockerStatic