blob: b44102abcb8b5222ff05ece5a7ec4e85177608e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: Initialize host facts
hosts: oo_all_hosts
roles:
- openshift_facts
tasks:
- openshift_facts:
role: common
local_facts:
hostname: "{{ openshift_hostname | default(None) }}"
- set_fact:
openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
- set_fact:
repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery' }}"
|