Update the repo to work with remote servers
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
19c99da550
commit
cb8d885061
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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 }}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user