Skip to content

Commit

Permalink
add systemd to the rails_app
Browse files Browse the repository at this point in the history
include all rails_app dependent applications
  • Loading branch information
kayiwa committed Oct 31, 2024
1 parent 2d93546 commit 8c3fb56
Show file tree
Hide file tree
Showing 12 changed files with 124 additions and 42 deletions.
12 changes: 10 additions & 2 deletions roles/approvals/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/blacklight_app/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 8 additions & 4 deletions roles/dpul/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
34 changes: 16 additions & 18 deletions roles/dss/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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
12 changes: 10 additions & 2 deletions roles/figgy/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/geaccirc/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/lae/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/lockers_and_study_spaces/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/oawaiver/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/orangelight/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/rails_app/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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
12 changes: 10 additions & 2 deletions roles/sidekiq_worker/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ lint: |
platforms:
- name: instance
image: "quay.io/pulibrary/jammy-ansible:latest"
command: ""
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

0 comments on commit 8c3fb56

Please sign in to comment.