From 40e27e6d25e58e55d86ae83c84f1da236d0f953c Mon Sep 17 00:00:00 2001 From: Sergey Malyuk Date: Thu, 19 Feb 2026 16:52:43 +0300 Subject: [PATCH] move dependancy installation back to main tasks --- roles/xfs_project_quotas/molecule/default/converge.yml | 7 ------- roles/xfs_project_quotas/tasks/main.yml | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/xfs_project_quotas/molecule/default/converge.yml b/roles/xfs_project_quotas/molecule/default/converge.yml index 9e685ef..7d70a9e 100644 --- a/roles/xfs_project_quotas/molecule/default/converge.yml +++ b/roles/xfs_project_quotas/molecule/default/converge.yml @@ -46,13 +46,6 @@ msg: "/root/image.img is linked to {{ xfs_project_quotas_loop_dev[0] }}" when: xfs_project_quotas_loop_dev != '' - - name: "Quotas | Ensure xfsprogs package is installed" - ansible.builtin.apt: - name: xfsprogs - state: present - update_cache: true - cache_valid_time: 3600 - - name: Make xfs filesystem community.general.filesystem: fstype: xfs diff --git a/roles/xfs_project_quotas/tasks/main.yml b/roles/xfs_project_quotas/tasks/main.yml index d9cc35b..b0e9c60 100644 --- a/roles/xfs_project_quotas/tasks/main.yml +++ b/roles/xfs_project_quotas/tasks/main.yml @@ -17,6 +17,13 @@ group: root mode: "0644" +- name: "Quotas | Ensure xfsprogs package is installed" + ansible.builtin.apt: + name: xfsprogs + state: present + update_cache: true + cache_valid_time: 3600 + - name: "Quotas | Ensure all /etc/projects entries exist" loop: "{{ projects }}" ansible.builtin.lineinfile: