BaseOS v1.0.21 #2

Merged
chris merged 35 commits from testing into main 2024-02-28 20:29:05 -05:00
4 changed files with 30 additions and 8 deletions
Showing only changes of commit 31f05c36a4 - Show all commits

View File

@ -8,15 +8,19 @@ gather_timeout = 600
fact_caching = jsonfile fact_caching = jsonfile
fact_caching_connection = /tmp/.ansible_facts fact_caching_connection = /tmp/.ansible_facts
fact_caching_timeout = 300 fact_caching_timeout = 300
retry_files_enabled = False retry_files_enabled = false
forks = 40 forks = 40
timeout = 30 timeout = 30
host_key_checking = False host_key_checking = false
display_skipped_hosts = False display_skipped_hosts = false
bin_ansible_callbacks = True bin_ansible_callbacks = true
deprecation_warnings = false
command_warnings = false
# callback_whitelist is deprecated
# we only include here for backwards compatibility
callback_whitelist = ansible.posix.profile_tasks, ansible.posix.timer callback_whitelist = ansible.posix.profile_tasks, ansible.posix.timer
deprecation_warnings = False callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
command_warnings = False
[ssh_connection] [ssh_connection]

3
testing/ansible-test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
ansible-playbook -v -i localhost, --connection=local baseos.yml

15
testing/env-test.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
CNAME="testing"
IMG_TAG="release"
echo "Which environment to test? (centos9, fedora39, debian11, debian12)"
read test_environment
podman pull gitea.thezengarden.net/podman/ansible-dev/${test_environment}:${IMG_TAG}
podman run -ti --rm --name ${CNAME} --hostname ${CNAME} \
-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} \
/bin/bash

View File

@ -1,13 +1,13 @@
--- ---
__baseos_include_roles: __baseos_include_roles:
- jchristianh.baseos.resolv_conf - jchristianh.baseos.resolv_conf
- jchristianh.baseos.hostname # - jchristianh.baseos.hostname
- jchristianh.baseos.etc_hosts - jchristianh.baseos.etc_hosts
- jchristianh.baseos.bashrc - jchristianh.baseos.bashrc
- jchristianh.baseos.motd - jchristianh.baseos.motd
- jchristianh.baseos.update_all_packages - jchristianh.baseos.update_all_packages
- jchristianh.baseos.base_packages - jchristianh.baseos.base_packages
- jchristianh.baseos.snmpd_conf # - jchristianh.baseos.snmpd_conf
... ...