nfs logic

This commit is contained in:
nazunalika 2020-12-23 02:56:55 -07:00
parent 3e5ffe4498
commit 4f24e6b4ac
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -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: