From fbb4e4691f8a2adbb8dc237f9d54b50d9e65a394 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 26 Jan 2022 14:09:43 -0800 Subject: [PATCH] Adjust the list of hosts that do not use linux-system-roles/network In addition to the cloud_aws group, we want to exclude ibiblio virthosts as they use bonding and thats a more complex setup. Someday we should get it working here. Signed-off-by: Kevin Fenzi --- inventory/inventory | 10 ++++++++++ roles/base/meta/main.yml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/inventory/inventory b/inventory/inventory index 86c170dd3d..9e62177c56 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -1221,3 +1221,13 @@ storinator01.rdu-cc.fedoraproject.org # [os_proxies] # os-proxy01.fedorainfracloud.org # os-proxy02.fedorainfracloud.org + +# +# These are hosts and groups that do not use linux-system-roles/network for configuring network +# The cloud_aws hosts have network all setup by cloud-init and/or provider. +# The ibiblio hosts are using port bonding. Someday we need to configure it via linux-sys-roles. +# +[no_linux_system_roles:children] +cloud_aws +ibiblio01.fedoraproject.org +ibiblio05.fedoraproject.org diff --git a/roles/base/meta/main.yml b/roles/base/meta/main.yml index 1de8f903df..13652b5fb8 100644 --- a/roles/base/meta/main.yml +++ b/roles/base/meta/main.yml @@ -1,6 +1,6 @@ --- dependencies: - - { role: linux-system-roles.network, when: "'cloud_aws' not in group_names", tags: ['linux-system-roles.network'] } + - { role: linux-system-roles.network, when: "'no_linux_system_roles' not in group_names", tags: ['linux-system-roles.network'] } - { role: basessh } - { role: chrony } - { role: dnf-automatic }