diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..69b9f5d --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,7 @@ +[defaults] +inventory = ansible/inventory/hosts.yml +roles_path = ansible/roles +collections_path = ansible/collections + +[ssh_connection] +pipelining = true diff --git a/ansible/inventory/group_vars/all.yml b/ansible/inventory/group_vars/all.yml new file mode 100644 index 0000000..9403f44 --- /dev/null +++ b/ansible/inventory/group_vars/all.yml @@ -0,0 +1,17 @@ +--- +# Global variables for rsyslog configuration management + +# Ansible connection settings +ansible_user: root +ansible_ssh_private_key_file: "~/.ssh/id_rsa" +ansible_ssh_common_args: "-o StrictHostKeyChecking=no" + +# Root directory of the rsyslog repository +repo_root: /root/rsyslog + +# rsyslog service name +rsyslog_service: rsyslog + +# Configuration paths +rsyslog_main_config: /etc/rsyslog.conf +rsyslog_config_dir: /etc/rsyslog.d