Skip to content

Commit

Permalink
dowload TLS CA for secure transfer of logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xilonz committed Feb 25, 2020
1 parent 306d912 commit c2a4184
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
path: /var/spool/rsyslog/
state: directory

- name: Create /etc/rsyslog.d/keys directory
file:
path: /etc/rsyslog.d/keys
state: directory

- name: Downloading TLS CA file
get_url:
url: https://www.nixstats.com/nixstats.ca
dest: /etc/rsyslog.d/keys/nixstats.ca

- name: Setup NIXStats rsyslog
template:
src: rsyslog.conf.j2
Expand Down

0 comments on commit c2a4184

Please sign in to comment.