mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-21 20:31:29 +00:00
nfs logic
This commit is contained in:
parent
3e5ffe4498
commit
4f24e6b4ac
@ -47,6 +47,7 @@ koji_kojira_principal: koji/kojira@ROCKYLINUX.ORG
|
||||
koji_kojira_keytab: /etc/koji.keytab
|
||||
|
||||
# Storage
|
||||
koji_nfs: true
|
||||
koji_mount: /mnt/koji
|
||||
koji_nfs_path: nfs.rockylinux.org:/export/koji
|
||||
|
||||
|
@ -5,8 +5,8 @@
|
||||
- name: Apply required SELinux booleans
|
||||
import_tasks: selinux_boolean.yml
|
||||
|
||||
- name: Ensure NFS is mounted
|
||||
import_tasks: nfs.yml
|
||||
- name: Ensure Storage is ready
|
||||
import_tasks: storage.yml
|
||||
|
||||
- name: Install required packages
|
||||
yum:
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
|
||||
# Storage
|
||||
- name: Ensure the koji mountpoint exists
|
||||
file:
|
||||
path: "{{ koji_mount }}"
|
||||
@ -11,6 +11,7 @@
|
||||
src: "{{ koji_nfs_path }}"
|
||||
fstype: nfs
|
||||
state: mounted
|
||||
when: koji_nfs
|
||||
|
||||
- name: Create required default directories
|
||||
file:
|
Loading…
Reference in New Issue
Block a user