mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-16 11:40:28 +08:00
Setup rw fedora_koji mount on arm02-builder00, arm02-builder01, buildvm-01 and buildhw-01
These builders will be removed from other channels and added to the 'compose' channel. This requires rw rights to the koji storage.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
#
|
||||
# We need to mount koji storage rw here so run_root can work.
|
||||
# The rest of the group can be ro, it's only builders in the
|
||||
# compose channel that need a rw mount
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
#
|
||||
# We need to mount koji storage rw here so run_root can work.
|
||||
# The rest of the group can be ro, it's only builders in the
|
||||
# compose channel that need a rw mount
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||
7
inventory/host_vars/buildhw-01.phx2.fedoraproject.org
Normal file
7
inventory/host_vars/buildhw-01.phx2.fedoraproject.org
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
#
|
||||
# We need to mount koji storage rw here so run_root can work.
|
||||
# The rest of the group can be ro, it's only builders in the
|
||||
# compose channel that need a rw mount
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||
@@ -2,3 +2,10 @@
|
||||
vmhost: buildvmhost-10.phx2.fedoraproject.org
|
||||
eth0_ip: 10.5.125.98
|
||||
eth1_ip: 10.5.127.158
|
||||
|
||||
#
|
||||
# We need to mount koji storage rw here so run_root can work.
|
||||
# The rest of the group can be ro, it's only builders in the
|
||||
# compose channel that need a rw mount
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
roles:
|
||||
- base
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('build') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('arm02-builder00') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('arm02-builder01') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('aarch64') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_arm/data' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('ppc8') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_ppc/data' }
|
||||
- koji_builder
|
||||
|
||||
Reference in New Issue
Block a user