add role and molecule

This commit is contained in:
Sergey Malyuk
2025-12-23 11:59:24 +03:00
parent bcaf5bd57d
commit 4dec1fd7fe
9 changed files with 160 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
- name: Converge
hosts: all
roles:
- role: "genlab.common.xfs_project_quotas"

View File

@@ -0,0 +1,27 @@
---
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: ubuntu
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2404}-ansible:latest
pre_build_image: true
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
privileged: true
provisioner:
name: ansible
verifier:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .

View File

@@ -0,0 +1,11 @@
---
- name: Verify
hosts: all
gather_facts: false
any_errors_fatal: true
tasks:
- name: Blank
ansible.builtin.command: echo
changed_when: false