mirror of
https://github.com/rocky-linux/ansible-role-kojid.git
synced 2024-12-14 07:18:33 +00:00
18 lines
326 B
YAML
18 lines
326 B
YAML
---
|
|
# Storage
|
|
- name: Ensure the koji mountpoint exists
|
|
file:
|
|
path: "{{ kojid_mount }}"
|
|
state: directory
|
|
owner: apache
|
|
group: apache
|
|
mode: '0755'
|
|
|
|
- name: Mount the NFS store
|
|
mount:
|
|
path: "{{ kojid_mount }}"
|
|
src: "{{ kojid_nfs_path }}"
|
|
fstype: nfs
|
|
state: mounted
|
|
when: kojid_nfs|bool
|