ansible/roles/copr/dist_git/tasks/mount_fs.yml
Ryan Lerch 62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00

18 lines
602 B
YAML

---
- name: Prepare mount point
ansible.builtin.file: state=directory path=/var/lib/dist-git
- name: Mount up disk of copr repo
mount: name=/var/lib/dist-git src='LABEL=copr-dist-git' fstype=ext4 state=mounted
- name: Prepare mount point
ansible.builtin.file: state=directory path=/var/lib/copr-dist-git
- name: Create symlink for per-task-logs
ansible.builtin.file:
state: link
src: /var/lib/dist-git/per-task-logs
path: /var/lib/copr-dist-git/per-task-logs
- name: Mount tmp on tmpfs
mount: name=/tmp src=tmpfs fstype=tmpfs state=mounted opts=defaults,size=39G,nr_inodes=2g