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 ...