Update the repo to work with remote servers
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
dvirlabs 2026-04-17 16:33:35 +03:00
parent 19c99da550
commit cb8d885061
2 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,12 @@
--- ---
# Global variables for rsyslog configuration management # Global variables for rsyslog configuration management
# Deployment configuration
deploy_user: root
deploy_host: "REPLACE_ME"
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
# Root directory of the rsyslog repository # Root directory of the rsyslog repository
repo_root: /root/rsyslog repo_root: /root/rsyslog

View File

@ -2,5 +2,8 @@ all:
children: children:
rsyslog_servers: rsyslog_servers:
hosts: hosts:
localhost: rsyslog-server:
ansible_connection: local ansible_host: "{{ deploy_host }}"
ansible_user: "{{ deploy_user }}"
ansible_ssh_private_key_file: "{{ ansible_ssh_private_key_file }}"
ansible_ssh_common_args: "{{ ansible_ssh_common_args }}"