More cleanup, audit and rsyslog
This commit is contained in:
parent
2d9e1d1f10
commit
4ce16944b9
2 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,6 @@
|
||||||
- name: clean up packages we do not need
|
- name: clean up packages we do not need
|
||||||
action: yum state=removed pkg={{ item }}
|
action: yum state=removed pkg={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- audit
|
|
||||||
- 'cronie\*'
|
- 'cronie\*'
|
||||||
|
|
||||||
- name: add pkgs
|
- name: add pkgs
|
||||||
|
@ -54,6 +53,8 @@
|
||||||
- kernel-firmware
|
- kernel-firmware
|
||||||
- ntp
|
- ntp
|
||||||
- ntpdate
|
- ntpdate
|
||||||
|
- rsyslog
|
||||||
|
- audit
|
||||||
|
|
||||||
- name: /etc/kojid/kojid.conf
|
- name: /etc/kojid/kojid.conf
|
||||||
action: copy src="{{ files }}/kojibuilder/kojid.conf" dest=/etc/kojid/kojid.conf
|
action: copy src="{{ files }}/kojibuilder/kojid.conf" dest=/etc/kojid/kojid.conf
|
||||||
|
@ -61,7 +62,6 @@
|
||||||
notify:
|
notify:
|
||||||
- restart kojid
|
- restart kojid
|
||||||
|
|
||||||
|
|
||||||
- name: arm /etc/kojid/kojid.conf
|
- name: arm /etc/kojid/kojid.conf
|
||||||
action: copy src="{{ files }}/kojibuilder/arm-kojid.conf" dest=/etc/kojid/kojid.conf
|
action: copy src="{{ files }}/kojibuilder/arm-kojid.conf" dest=/etc/kojid/kojid.conf
|
||||||
when: inventory_hostname.startswith(('arm01','arm03'))
|
when: inventory_hostname.startswith(('arm01','arm03'))
|
||||||
|
|
|
@ -3,4 +3,4 @@ dist_tag: f{{ ansible_distribution_version }}
|
||||||
base_pkgs_inst: ['iptables-services' ]
|
base_pkgs_inst: ['iptables-services' ]
|
||||||
base_pkgs_erase: ['firewalld', 'PackageKit*', 'sendmail', 'at']
|
base_pkgs_erase: ['firewalld', 'PackageKit*', 'sendmail', 'at']
|
||||||
service_disabled: [ ]
|
service_disabled: [ ]
|
||||||
service_enabled: [ ]
|
service_enabled: ['iptables','audit']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue