Ensure libselinux-python is installed before we try to manage sshd_config.
This commit is contained in:
parent
a9b6ef9f11
commit
e2f1495aa9
2 changed files with 7 additions and 7 deletions
|
@ -4,6 +4,11 @@
|
||||||
# This is the base role for all machines.
|
# This is the base role for all machines.
|
||||||
# Things in here are things we want to do to every machine no matter what.
|
# Things in here are things we want to do to every machine no matter what.
|
||||||
#
|
#
|
||||||
|
- name: global default packages to install
|
||||||
|
yum: state=installed name={{ item }}
|
||||||
|
with_items: global_pkgs_inst
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: sshd_config
|
- name: sshd_config
|
||||||
copy: src={{ item }} dest=/etc/ssh/sshd_config mode=600
|
copy: src={{ item }} dest=/etc/ssh/sshd_config mode=600
|
||||||
|
@ -38,12 +43,6 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: global default packages to install
|
|
||||||
yum: state=installed name={{ item }}
|
|
||||||
with_items: global_pkgs_inst
|
|
||||||
tags:
|
|
||||||
- packages
|
|
||||||
|
|
||||||
- name: dist pkgs to remove
|
- name: dist pkgs to remove
|
||||||
yum: state=removed name={{ item }}
|
yum: state=removed name={{ item }}
|
||||||
with_items: base_pkgs_erase
|
with_items: base_pkgs_erase
|
||||||
|
|
|
@ -19,4 +19,5 @@ f17_qcow_id: ami-00000001
|
||||||
f19_qcow_id: ami-00000018
|
f19_qcow_id: ami-00000018
|
||||||
global_pkgs_inst: ['bind-utils', 'joe', 'mailx', 'nc', 'openssh-clients',
|
global_pkgs_inst: ['bind-utils', 'joe', 'mailx', 'nc', 'openssh-clients',
|
||||||
'patch', 'postfix', 'rsync', 'strace', 'telnet',
|
'patch', 'postfix', 'rsync', 'strace', 'telnet',
|
||||||
'tmpwatch', 'traceroute', 'vim-enhanced', 'xz', 'zsh' ]
|
'tmpwatch', 'traceroute', 'vim-enhanced', 'xz', 'zsh',
|
||||||
|
'libselinux-pyton' ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue