1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-13 23:50:34 +00:00
vagrant-easyredmine/roles/easyredmine/tasks/system.yml

42 lines
696 B
YAML
Raw Normal View History

2015-11-18 23:02:49 +00:00
- include: addswap.yml
2015-11-18 23:02:49 +00:00
- name: install system tools
yum: name='{{ item }}'
2016-07-14 03:15:07 +00:00
become: yes
2015-11-18 23:02:49 +00:00
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
2016-07-14 03:15:07 +00:00
become: yes
2015-11-30 15:08:24 +00:00
- name: set up redmine user mail aliases
lineinfile: >
dest=/etc/aliases
regexp="\b{{ redmine_owner }}"
line="{{ redmine_owner }}: {{ redmine_mail_alias }}"
2016-07-14 03:15:07 +00:00
become: yes
2015-11-30 15:08:24 +00:00
notify: rebuild mail aliases
2015-11-18 23:02:49 +00:00