mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-11-10 06:50:35 +00:00
41 lines
667 B
YAML
41 lines
667 B
YAML
|
|
|
|
- name: install system tools
|
|
yum: name='{{ item }}'
|
|
sudo: yes
|
|
with_items:
|
|
- rsync
|
|
- strace
|
|
- nmap
|
|
- 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
|
|
|