mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-25 06:11:23 +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
|
koji_kojira_keytab: /etc/koji.keytab
|
||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
|
koji_nfs: true
|
||||||
koji_mount: /mnt/koji
|
koji_mount: /mnt/koji
|
||||||
koji_nfs_path: nfs.rockylinux.org:/export/koji
|
koji_nfs_path: nfs.rockylinux.org:/export/koji
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
- name: Apply required SELinux booleans
|
- name: Apply required SELinux booleans
|
||||||
import_tasks: selinux_boolean.yml
|
import_tasks: selinux_boolean.yml
|
||||||
|
|
||||||
- name: Ensure NFS is mounted
|
- name: Ensure Storage is ready
|
||||||
import_tasks: nfs.yml
|
import_tasks: storage.yml
|
||||||
|
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
yum:
|
yum:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
# Storage
|
||||||
- name: Ensure the koji mountpoint exists
|
- name: Ensure the koji mountpoint exists
|
||||||
file:
|
file:
|
||||||
path: "{{ koji_mount }}"
|
path: "{{ koji_mount }}"
|
||||||
@ -11,6 +11,7 @@
|
|||||||
src: "{{ koji_nfs_path }}"
|
src: "{{ koji_nfs_path }}"
|
||||||
fstype: nfs
|
fstype: nfs
|
||||||
state: mounted
|
state: mounted
|
||||||
|
when: koji_nfs
|
||||||
|
|
||||||
- name: Create required default directories
|
- name: Create required default directories
|
||||||
file:
|
file:
|
Loading…
Reference in New Issue
Block a user