2015-11-18 23:02:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: install system tools
|
|
|
|
yum: name='{{ item }}'
|
|
|
|
sudo: yes
|
|
|
|
with_items:
|
|
|
|
- rsync
|
|
|
|
- strace
|
|
|
|
- nmap
|
2015-11-30 15:08:24 +00:00
|
|
|
- yum-utils
|
|
|
|
- sendmail
|
|
|
|
- at
|
|
|
|
- nfs-utils
|
|
|
|
- vim-enhanced
|
|
|
|
- tmpwatch
|
|
|
|
- ntpdate
|
|
|
|
- cronie-noanacron
|
|
|
|
- ruby
|
|
|
|
- mailx
|
|
|
|
- crontabs
|
|
|
|
- logrotate
|
|
|
|
- which
|
|
|
|
- net-tools
|
|
|
|
- lsof
|
|
|
|
- screen
|
|
|
|
- mlocate
|
|
|
|
|
|
|
|
- service: name=sendmail
|
|
|
|
state=started
|
|
|
|
enabled=yes
|
|
|
|
sudo: yes
|
|
|
|
|
|
|
|
- name: set up redmine user mail aliases
|
|
|
|
lineinfile: >
|
|
|
|
dest=/etc/aliases
|
|
|
|
regexp="\b{{ redmine_owner }}"
|
|
|
|
line="{{ redmine_owner }}: {{ redmine_mail_alias }}"
|
|
|
|
sudo: yes
|
|
|
|
notify: rebuild mail aliases
|
2015-11-18 23:02:49 +00:00
|
|
|
|