Adding molecule unit tests

This commit is contained in:
Ian Roddis
2026-03-23 15:15:27 -03:00
parent 72f171e88f
commit 0bf5dd0024
75 changed files with 2092 additions and 2 deletions
+4
View File
@@ -16,6 +16,7 @@
owner: "1000"
group: "1000"
mode: '0775'
when: not (molecule_test_mode | default(false))
- name: Set vm.max_map_count for OpenSearch
ansible.posix.sysctl:
@@ -23,6 +24,7 @@
value: '262144'
state: present
sysctl_set: true
when: not (molecule_test_mode | default(false))
- name: Deploy Graylog docker-compose
ansible.builtin.template:
@@ -35,6 +37,7 @@
community.docker.docker_compose_v2:
project_src: "{{ graylog_data_dir }}"
state: present
when: not (molecule_test_mode | default(false))
- name: Wait for Graylog to be ready
ansible.builtin.uri:
@@ -48,3 +51,4 @@
until: result.status == 200
retries: 30
delay: 10
when: not (molecule_test_mode | default(false))