-
Notifications
You must be signed in to change notification settings - Fork 5
/
shadowman_ee_utils_simple.yml
61 lines (57 loc) · 1.88 KB
/
shadowman_ee_utils_simple.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
- name: Sync all PAH EE and Remote Repos
hosts: localhost
gather_facts: false
become: false
tags: sync
vars:
ee_image: ansible-automation-platform/ee-minimal-rhel8
roles:
- update_collection_remote
- ah_sync_ee
- ah_sync_repos
- name: Build new Basic using EE Utils collection
hosts: ansibledev.shadowman.dev
tags: buildee
vars:
ee_version: 3
ee_builder_dir_clean: false
ee_builder_dir: "/home/ansible/ansible/builder/testee"
ee_galaxy_keyring: "/certs/fullkeyring.kbx"
ee_update_base_images: true
ee_base_image: towerpah.shadowman.dev/ansible-automation-platform/ee-minimal-rhel8:2.16
ee_base_sig_name: registry.redhat.io/ansible-automation-platform/ee-minimal-rhel8:2.16
ee_container_policy: system
ee_base_registry_username: "{{ pah_user }}"
ee_base_registry_password: "{{ pah_pass }}"
ee_prune_images: true
ee_pull_collections_from_hub: true
ee_ah_host: "{{ lookup('env', 'AH_HOST') }}"
ee_ah_token: "{{ lookup('env', 'AH_API_TOKEN') }}"
alt_name: "Automation Hub Test execution environment"
ee_name: testee
ee_reg_credential: Automation Hub Container Registry
ee_registry_dest: "{{ lookup('env', 'AH_HOST') }}"
ee_registry_username: "{{ pah_user }}"
ee_registry_password: "{{ pah_pass }}"
ee_verbosity: 1
ee_list:
- name: testee
alt_name: "Automation Hub Test execution environment"
tag: "{{ ansible_date_time.iso8601_basic_short }}"
dependencies:
system:
- which [platform:rpm]
python:
- scp
galaxy:
collections:
- name: ansible.windows
- name: community.windows
- name: microsoft.ad
build_steps:
append_final:
- RUN rm -f /etc/ansible/ansible.cfg
roles:
- infra.ee_utilities.ee_builder
- ah_update_controller