f2aea128b3
Change-Id: Ic19c1a0e975f6097813cad52f880042e33730ff8 Partially-Implements: blueprint replace-config-external
17 lines
429 B
YAML
Executable File
17 lines
429 B
YAML
Executable File
---
|
|
- name: Ensuring config directory exists
|
|
file:
|
|
path: "{{ node_config_directory }}/rsyslog/"
|
|
state: "directory"
|
|
recurse: "yes"
|
|
|
|
- name: Copying over rsyslog JSON configuration file
|
|
template:
|
|
src: "rsyslog.json.j2"
|
|
dest: "{{ node_config_directory }}/rsyslog/config.json"
|
|
|
|
- name: Copying over config(s)
|
|
template:
|
|
src: "rsyslog.conf.j2"
|
|
dest: "{{ node_config_directory }}/rsyslog/rsyslog.conf"
|