--- # host-log-shipping / linux / t1 "Standard" # # Same result as the quick start, over TLS, as a role you can point at a # different collector per environment. # # group_vars/prod.yml # log_forwarding_collector_host: logs.prod.internal # log_forwarding_tls_ca_file: /etc/ssl/certs/internal-ca.pem # # Run: # ansible-playbook -i inventory.ini site.yml --check --diff # ansible-playbook -i inventory.ini site.yml - name: Forward system logs hosts: all become: true gather_facts: true roles: - role: log_forwarding tags: [logging]