diff --git a/.zuul.yaml b/.zuul.yaml index 16f76c7b..7fd0172c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -47,10 +47,6 @@ label: ubuntu-jammy-large vars: ansible_molecule_ansible_version: "9.4.0" - files: - - '^\.zuul\.yaml$' - - '^molecule\/delegated\/[^\/]*yml$' - - '^molecule\/requirements\.txt$' - job: name: ansible-collection-commons-molecule-certificates @@ -58,6 +54,9 @@ vars: ansible_role: certificates files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/certificates\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/certificates.*$' @@ -67,6 +66,9 @@ vars: ansible_role: cleanup files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/cleanup\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/cleanup.*$' @@ -76,6 +78,9 @@ vars: ansible_role: configfs files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/configfs\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/configfs.*$' @@ -85,6 +90,9 @@ vars: ansible_role: configuration files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/configuration\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/configuration.*$' @@ -94,6 +102,9 @@ vars: ansible_role: docker_compose files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/docker_compose\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/docker_compose.*$' @@ -103,6 +114,9 @@ vars: ansible_role: docker_login files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/docker_login\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/docker_login.*$' @@ -112,6 +126,9 @@ vars: ansible_role: facts files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/facts\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/facts.*$' @@ -121,6 +138,9 @@ vars: ansible_role: firewall files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/firewall\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/firewall.*$' @@ -130,6 +150,9 @@ vars: ansible_role: hostname files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/hostname\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/hostname.*$' @@ -139,6 +162,9 @@ vars: ansible_role: hosts files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/hosts\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/hosts.*$' @@ -148,6 +174,9 @@ vars: ansible_role: ipmitool files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/ipimtool\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/ipmitool.*$' @@ -157,6 +186,9 @@ vars: ansible_role: kernel_modules files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/kernel_modules\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/kernel_modules.*$' @@ -166,6 +198,9 @@ vars: ansible_role: known_hosts files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/known_hosts\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/known_hosts.*$' @@ -175,6 +210,9 @@ vars: ansible_role: kompose files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/kompose\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/kompose.*$' @@ -184,6 +222,9 @@ vars: ansible_role: kubectl files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/kubectl\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/kubectl.*$' @@ -193,6 +234,9 @@ vars: ansible_role: limits files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/limits\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/limits.*$' @@ -202,6 +246,9 @@ vars: ansible_role: lynis files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/lynis\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/lynis.*$' @@ -211,6 +258,9 @@ vars: ansible_role: microcode files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/microcode\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/microcode.*$' @@ -220,6 +270,9 @@ vars: ansible_role: motd files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/motd\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/motd.*$' @@ -229,6 +282,9 @@ vars: ansible_role: network files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/network\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/network.*$' @@ -238,6 +294,9 @@ vars: ansible_role: operator files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/operator\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/operator.*$' @@ -247,6 +306,9 @@ vars: ansible_role: packages files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/packages\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/packages.*$' @@ -256,6 +318,9 @@ vars: ansible_role: podman files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/podman\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/podman.*$' @@ -265,6 +330,9 @@ vars: ansible_role: proxy files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/proxy\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/proxy.*$' @@ -274,6 +342,9 @@ vars: ansible_role: repository files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/repository\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/repository.*$' @@ -283,6 +354,9 @@ vars: ansible_role: resolvconf files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/resolvconf\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/resolvconf.*$' @@ -292,6 +366,9 @@ vars: ansible_role: runc files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/runc\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/runc.*$' @@ -301,6 +378,9 @@ vars: ansible_role: services files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/services\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/services.*$' @@ -310,6 +390,9 @@ vars: ansible_role: sosreport files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/sosreport\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/sosreport.*$' @@ -319,6 +402,9 @@ vars: ansible_role: sshconfig files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/sshconfig\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/sshconfig.*$' @@ -328,6 +414,9 @@ vars: ansible_role: state files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/state\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/state.*$' @@ -337,6 +426,9 @@ vars: ansible_role: sysctl files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/sysctl\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/sysctl.*$' @@ -346,6 +438,9 @@ vars: ansible_role: systohc files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/systohc\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/systohc.*$' @@ -355,6 +450,9 @@ vars: ansible_role: timezone files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/timezone\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/timezone.*$' @@ -364,6 +462,9 @@ vars: ansible_role: trivy files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/trivy\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/trivy.*$' @@ -373,6 +474,9 @@ vars: ansible_role: user files: + - '^\.zuul\.yaml$' + - '^molecule\/delegated\/[^\/]*yml$' + - '^molecule\/requirements\.txt$' - '^roles\/user\/.*$' - '^molecule\/delegated\/[a-zA-Z0-9_-]+\/user.*$' diff --git a/molecule/requirements.txt b/molecule/requirements.txt index 3c646808..ee8ac7be 100644 --- a/molecule/requirements.txt +++ b/molecule/requirements.txt @@ -1,3 +1,4 @@ molecule==24.2.0 pytest==8.1.1 pytest-testinfra==10.1.0 +# test