library/roles/ubuntu-deb-general: Fix the rsyslog tasks.
This commit is contained in:
parent
ea68aa7b2a
commit
4b4507bdce
|
@ -14,7 +14,6 @@
|
||||||
- include: pubkeys.yml
|
- include: pubkeys.yml
|
||||||
when: manage_root_ssh_keys
|
when: manage_root_ssh_keys
|
||||||
- include: rsyslogfix.yml
|
- include: rsyslogfix.yml
|
||||||
when: is_precise and ansible_kernel != "3.2.0-4-amd64"
|
|
||||||
- include: unattended-upgrades.yml
|
- include: unattended-upgrades.yml
|
||||||
- include: pki-basics.yml
|
- include: pki-basics.yml
|
||||||
- include: install_external_ca_cert.yml
|
- include: install_external_ca_cert.yml
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
notify: Restart rsyslog
|
notify: Restart rsyslog
|
||||||
tags: rsyslog
|
tags: rsyslog
|
||||||
|
|
||||||
- name: Enable the kernel logger on ubuntu 12.04 and kernel major version >= 3
|
- name: Enable the kernel logger on ubuntu >= 12.04 and kernel major version >= 3
|
||||||
lineinfile: dest=/etc/rsyslog.conf line="$ModLoad imklog" insertafter="^#$ModLoad imklog" backup=yes
|
lineinfile: dest=/etc/rsyslog.conf line="$ModLoad imklog " insertafter="\\$ModLoad\ imuxsock" backup=yes
|
||||||
when:
|
when:
|
||||||
- is_precise and ansible_kernel == "3.2.0-4-amd64"
|
- is_precise and ansible_kernel == "3.2.0-4-amd64"
|
||||||
- is_trusty
|
- is_trusty
|
||||||
|
|
Loading…
Reference in New Issue