abc50905fa
This adds some new playbooks to be used by the new multinode mixed os job (See topic at [1] for related reviews). Also updates the extras-common and undercloud-deploy roles to allow the mixed-os job to use the correct content provider. [1] https://review.opendev.org/q/topic:oooci_mixed_rhel Change-Id: Ie7a95056bfb0a90d2e6fb6e5ec9c8ed66f8ef31e
33 lines
826 B
YAML
33 lines
826 B
YAML
---
|
|
- name: Add the overcloud nodes to the generated inventory
|
|
hosts: undercloud
|
|
gather_facts: true
|
|
tags:
|
|
- overcloud-deploy
|
|
vars:
|
|
inventory: multinode_mixed_os
|
|
roles:
|
|
- tripleo-inventory
|
|
|
|
- name: Create configs on subnodes
|
|
hosts: overcloud_compute
|
|
roles:
|
|
- role: repo-setup
|
|
when: not mixed_upgrade|default(false)|bool
|
|
tasks:
|
|
- name: Create a clean hosts file on subnodes
|
|
copy:
|
|
dest: /etc/hosts
|
|
content: |
|
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
become: true
|
|
|
|
- name: Run atop on overcloud node if configured
|
|
include_role:
|
|
name: undercloud-setup
|
|
tasks_from: atop
|
|
|
|
tags:
|
|
- undercloud-setup
|