From f07ff6a0880a0a1a56c314d10ac4c775727dd619 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 11 Dec 2023 12:58:04 -0500 Subject: [PATCH] fixed snmpd_conf role --- .gitignore | 1 + testing/env-test.sh | 7 ++++--- vars/baseos_vars.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0f0dfba..97e6291 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ inventory/* host_vars collections/ansible_collections/ +testing.yml diff --git a/testing/env-test.sh b/testing/env-test.sh index e0ff942..e5edb50 100755 --- a/testing/env-test.sh +++ b/testing/env-test.sh @@ -1,14 +1,15 @@ #!/bin/bash -CNAME="testing" -IMG_TAG="release" - echo "Which environment to test? (centos9, fedora39, debian11, debian12)" read test_environment +CNAME="testing-${test_environment}" +IMG_TAG="release" + podman pull gitea.thezengarden.net/podman/ansible-dev/${test_environment}:${IMG_TAG} podman run -ti --rm --name ${CNAME} --hostname ${CNAME} \ + --cap-add SYS_ADMIN --uts=private \ -v /home/chris/Development/Ansible/Plays/baseos:/opt/ansible/baseos \ -v /home/chris/Development/Ansible/Collections/jchristianh/baseos:/opt/ansible/baseos/collections/ansible_collections/jchristianh/baseos \ gitea.thezengarden.net/podman/ansible-dev/${test_environment}:${IMG_TAG} \ diff --git a/vars/baseos_vars.yml b/vars/baseos_vars.yml index 045d7f6..c346b04 100644 --- a/vars/baseos_vars.yml +++ b/vars/baseos_vars.yml @@ -7,7 +7,7 @@ __baseos_include_roles: - jchristianh.baseos.motd - jchristianh.baseos.update_all_packages - jchristianh.baseos.base_packages - # - jchristianh.baseos.snmpd_conf + - jchristianh.baseos.snmpd_conf ...