forked from IBM/z_ansible_collections_samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
site.yml
34 lines (28 loc) · 1.21 KB
/
site.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
###############################################################################
# © Copyright IBM Corporation 2023
###############################################################################
###############################################################################
# This playbook (`site.yml`) is the master playbook for this project. Based on
# the playbooks requirments, `site.yml` playbook will evalute the requirements
# and report when the minimum requirements are not configured and fail playbook
# execution.
#
# Upon successful dependency analyais, the z/OS playbook will be executed.
#
# Usage:
# ansible-playbook -i <inventory> <playbook>
#
# Example:
# ansible-playbook -i inventories site.yml
# ansible-playbook -i inventories site.yml -v
###############################################################################
---
- hosts: localhost
tasks:
- name: Parse the registry for collection entries
include_vars: runtime-requirements.yml
- name: Display the registered collections and properites in `registry.yml`.
include_role:
name: requirements-check
- name: Execute the z/OS Ansible playbook, using a template for compilation.
import_playbook: compile_link_loadlib.yml