[ansible] Drop arm-builder09
by Nicolas Chauvet
commit 2c366c9625acfafe33b17db9e377d31966d33b1b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 16 11:08:02 2021 +0100
Drop arm-builder09
inventory/builders | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/inventory/builders b/inventory/builders
index b6fda18..a336fe9 100644
--- a/inventory/builders
+++ b/inventory/builders
@@ -54,7 +54,7 @@ home_arm
#arm-builder04.scaleway.rpmfusion.net
[home_arm]
-arm-builder09.home.rpmfusion.net
+#arm-builder09.home.rpmfusion.net
arm-builder10.home.rpmfusion.net
arm-builder11.home.rpmfusion.net
#arm-builder12.home.rpmfusion.net
3 years
[ansible] Add arm-pi4
by Nicolas Chauvet
commit c2860c8ddadce97d99ea0f05ce6fa9fdfa1637ef
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 18:52:00 2021 +0200
Add arm-pi4
inventory/builders | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/inventory/builders b/inventory/builders
index 3daca96..182773c 100644
--- a/inventory/builders
+++ b/inventory/builders
@@ -60,6 +60,7 @@ arm-builder11.home.rpmfusion.net
#arm-builder12.home.rpmfusion.net
arm-jetson-tk1.home.rpmfusion.net
arm-jetson-tx1.home.rpmfusion.net
+arm-rpi4.home.rpmfusion.net
[builders:children]
3 years
[ansible] Workaround proxy not found
by Nicolas Chauvet
commit 80c1fc1181b42c839f372336552dd85d9ba7f121
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 16 11:07:43 2021 +0100
Workaround proxy not found
.../koji_builder/files/builders/site-defaults.cfg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg b/roles/koji_builder/files/builders/site-defaults.cfg
index bf30238..0e0ff4c 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -1,7 +1,7 @@
config_opts['plugin_conf']['package_state_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0']
-config_opts['http_proxy'] = 'http://proxy:3128'
+config_opts['http_proxy'] = 'http://192.168.182.1:3128'
config_opts['nosync'] = True
config_opts['nosync_force'] = True
config_opts['environment']['LANG'] = 'C.UTF-8'
3 years
[ansible] fixup
by Nicolas Chauvet
commit a9298cd9125133007f1b63ad8fd0e954497e5f03
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 19:35:52 2021 +0200
fixup
inventory/builders | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/inventory/builders b/inventory/builders
index 182773c..b6fda18 100644
--- a/inventory/builders
+++ b/inventory/builders
@@ -60,7 +60,7 @@ arm-builder11.home.rpmfusion.net
#arm-builder12.home.rpmfusion.net
arm-jetson-tk1.home.rpmfusion.net
arm-jetson-tx1.home.rpmfusion.net
-arm-rpi4.home.rpmfusion.net
+arm-pi4.home.rpmfusion.net
[builders:children]
3 years
[ansible] Drop fedora/rhel/centos bases repos
by Nicolas Chauvet
commit 9ca53b3661409de767e080fc44f0a615f22f943b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 19:37:04 2021 +0200
Drop fedora/rhel/centos bases repos
tasks/yumrepos.yml | 55 ----------------------------------------------------
1 files changed, 0 insertions(+), 55 deletions(-)
---
diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml
index 3fa0ac6..84da98e 100644
--- a/tasks/yumrepos.yml
+++ b/tasks/yumrepos.yml
@@ -94,61 +94,6 @@
- packages
- yumrepos
-- name: put fedora repos on primary architecture systems
- template: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora.repo
- - fedora-updates.repo
- - fedora-updates-testing.repo
- when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and not inventory_hostname.startswith('rawhide-test') and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora modular repos on primary architecture systems
- template: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora-modular.repo
- - fedora-updates-modular.repo
- - fedora-updates-testing-modular.repo
- when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith('rawhide-test') and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora repos on secondary architecture systems
- template: src="{{ files }}/common/{{ item }}-secondary" dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora.repo
- - fedora-updates.repo
- - fedora-updates-testing.repo
- when: ansible_distribution == 'Fedora' and (ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' or ansible_architecture == 's390x') and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora repos on secondary architecture systems
- template: src="{{ files }}/common/{{ item }}-secondary" dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora-modular.repo
- - fedora-updates-modular.repo
- - fedora-updates-testing-modular.repo
- when: ansible_distribution == 'Fedora' and ansible_distribution_major_version|int >= 29 and (ansible_architecture == 'ppc64le' or ansible_architecture == 's390x') and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: add aarch64 server rpms repo
- copy: src="{{ files }}/common/rhel-{{ ansible_distribution_major_version|int }}-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-{{ ansible_distribution_major_version|int }}-aarch64-server-rpms.repo"
- when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') and ansible_distribution_major_version|int >= 7 and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
- name: add infrastructure tags repo - RHEL
copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo"
3 years
[ansible] Remove network-scripts from nfs-client
by Nicolas Chauvet
commit d6830bdd4b9a1e3055241a20ec6592b697ffec59
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 19:34:49 2021 +0200
Remove network-scripts from nfs-client
roles/nfs/client/tasks/main.yml | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml
index 17826c1..3f2f9b0 100644
--- a/roles/nfs/client/tasks/main.yml
+++ b/roles/nfs/client/tasks/main.yml
@@ -1,9 +1,3 @@
-- name: install network-scripts package
- package: name=network-scripts state=installed
- when: ansible_distribution_major_version|int >= 29
- tags:
- - nfs/client
-
# Setup our idmapd.conf file. It should be loaded automagically.
- name: idmapd.conf
copy: src=idmapd.conf dest=/etc/idmapd.conf
3 years
[ansible] ifcfg if gw is defined
by Nicolas Chauvet
commit a4f46697af30ea428db1986da88c051cebd786f0
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 19:36:29 2021 +0200
ifcfg if gw is defined
roles/base/tasks/main.yml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml
index 5c6ae0c..1322f83 100644
--- a/roles/base/tasks/main.yml
+++ b/roles/base/tasks/main.yml
@@ -107,6 +107,7 @@
- not ansible_ifcfg_blocklist
- ansible_ifcfg_allowlist is not defined or item in ansible_ifcfg_allowlist
- not network_connections is defined
+ - gw is defined
tags:
- config
- ifcfg
3 years