mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-12-22 16:48:30 +00:00
23 lines
461 B
YAML
23 lines
461 B
YAML
---
|
|
# Storage
|
|
- name: Ensure the koji mountpoint exists
|
|
file:
|
|
path: "{{ koji_mount }}"
|
|
state: directory
|
|
|
|
- name: Mount the NFS store
|
|
mount:
|
|
path: "{{ koji_mount }}"
|
|
src: "{{ koji_nfs_path }}"
|
|
fstype: nfs
|
|
state: mounted
|
|
when: koji_nfs
|
|
|
|
- name: Create required default directories
|
|
file:
|
|
path: "{{ koji_mount }}/{{ item }}"
|
|
state: directory
|
|
owner: apache
|
|
group: apache
|
|
with_items: "{{ koji_default_directories }}"
|