FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Sync in wip/arcus/ussuri-staging into wip/arcus/wallaby-staging

Closed Will Szumski requested to merge wip2/arcus/wallaby/staging into wip/arcus/wallaby-staging
@@ -2,29 +2,27 @@
- name: Configure rsyslog to forward messages
hosts: overcloud
become: yes
tasks:
- name: Ensure rsyslog is installed
package:
name: rsyslog
state: present
- name: Ensure rsyslog is installed
package:
name: rsyslog
state: present
- name: Ensure rsyslog is started and enabled
systemd:
state: started
enabled: yes
name: rsyslog
- name: Ensure rsyslog is started and enabled
systemd:
state: started
enabled: yes
name: rsyslog
- name: Update rsyslog configuration
lineinfile:
path: /etc/rsyslog.conf
insertafter: '^#*.* @@remote-host:514'
line: "*.* @{{ internal_net_name | net_ip }}:5140"
register: rsyslog_config
- name: Update rsyslog configuration
lineinfile:
path: /etc/rsyslog.conf
insertafter: '^#*.* @@remote-host:514'
line: "*.* @{{ internal_net_name | net_ip }}:5140"
register: rsyslog_config
- name: Restart rsyslog
systemd:
state: restarted
name: rsyslog
when: rsyslog_config.changed
- name: Restart rsyslog
systemd:
state: restarted
name: rsyslog
when: rsyslog_config.changed
Loading