diff --git a/roles/approvals/molecule/default/molecule.yml b/roles/approvals/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/approvals/molecule/default/molecule.yml +++ b/roles/approvals/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/blacklight_app/molecule/default/molecule.yml b/roles/blacklight_app/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/blacklight_app/molecule/default/molecule.yml +++ b/roles/blacklight_app/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/dpul/molecule/default/molecule.yml b/roles/dpul/molecule/default/molecule.yml index 40d96fb789..c9d31684a2 100644 --- a/roles/dpul/molecule/default/molecule.yml +++ b/roles/dpul/molecule/default/molecule.yml @@ -9,18 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible - log: true config_options: defaults: remote_tmp: /tmp - local_tmp: /tmp + log: true verifier: name: ansible diff --git a/roles/dss/molecule/default/molecule.yml b/roles/dss/molecule/default/molecule.yml index 6db13a25c9..c9d31684a2 100644 --- a/roles/dss/molecule/default/molecule.yml +++ b/roles/dss/molecule/default/molecule.yml @@ -3,30 +3,28 @@ scenario: name: default driver: name: docker +lint: | + set -e + yamllint . + ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible - playbooks: - converge: playbook.yml + config_options: + defaults: + remote_tmp: /tmp log: true -dependency: - name: galaxy - enabled: false -lint: - name: yamllint - options: - config-file: molecule/default/yaml-lint.yml verifier: - name: testinfra - env: - PYTHONWARNINGS: "ignore:.*U.*mode is deprecated:DeprecationWarning" - lint: - name: flake8 - options: - # show which tests where executed in test output - v: 1 - directory: ./tests/ + name: ansible diff --git a/roles/example/molecule/default/molecule.yml b/roles/example/molecule/default/molecule.yml index c4000fbd2c..c9d31684a2 100644 --- a/roles/example/molecule/default/molecule.yml +++ b/roles/example/molecule/default/molecule.yml @@ -9,7 +9,7 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" command: "/lib/systemd/systemd" volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw diff --git a/roles/figgy/molecule/default/molecule.yml b/roles/figgy/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/figgy/molecule/default/molecule.yml +++ b/roles/figgy/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/geaccirc/molecule/default/molecule.yml b/roles/geaccirc/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/geaccirc/molecule/default/molecule.yml +++ b/roles/geaccirc/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/lae/molecule/default/molecule.yml b/roles/lae/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/lae/molecule/default/molecule.yml +++ b/roles/lae/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/lockers_and_study_spaces/molecule/default/molecule.yml b/roles/lockers_and_study_spaces/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/lockers_and_study_spaces/molecule/default/molecule.yml +++ b/roles/lockers_and_study_spaces/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/oawaiver/molecule/default/molecule.yml b/roles/oawaiver/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/oawaiver/molecule/default/molecule.yml +++ b/roles/oawaiver/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/orangelight/molecule/default/molecule.yml b/roles/orangelight/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/orangelight/molecule/default/molecule.yml +++ b/roles/orangelight/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/passenger/molecule/default/molecule.yml b/roles/passenger/molecule/default/molecule.yml index c4000fbd2c..c9d31684a2 100644 --- a/roles/passenger/molecule/default/molecule.yml +++ b/roles/passenger/molecule/default/molecule.yml @@ -9,7 +9,7 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" command: "/lib/systemd/systemd" volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw diff --git a/roles/rails_app/molecule/default/molecule.yml b/roles/rails_app/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/rails_app/molecule/default/molecule.yml +++ b/roles/rails_app/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible diff --git a/roles/sidekiq_worker/molecule/default/molecule.yml b/roles/sidekiq_worker/molecule/default/molecule.yml index 0e1659c89a..c9d31684a2 100644 --- a/roles/sidekiq_worker/molecule/default/molecule.yml +++ b/roles/sidekiq_worker/molecule/default/molecule.yml @@ -9,14 +9,22 @@ lint: | ansible-lint platforms: - name: instance - image: "quay.io/pulibrary/jammy-ansible:latest" - command: "" + image: "ghcr.io/pulibrary/pul_containers:jammy_multi" + command: "/lib/systemd/systemd" volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + tmpfs: + - /tmp + - /run + - /run/lock + cgroupns_mode: host privileged: true pre_build_image: true provisioner: name: ansible + config_options: + defaults: + remote_tmp: /tmp log: true verifier: name: ansible