Fix a few bugs for install-syscom-container.yml

This commit is contained in:
Elana Hashman 2017-02-19 15:14:11 -05:00
parent 7a05336ae9
commit b8d8a4e6ca
3 changed files with 12 additions and 5 deletions

1
hosts
View File

@ -79,6 +79,7 @@ logstash.csclub.uwaterloo.ca
dns1.csclub.uwaterloo.ca
dns2.csclub.uwaterloo.ca
cifs.csclub.uwaterloo.ca
mattermost.csclub.uwaterloo.ca
[syscom-containers:children]
load-balancers

View File

@ -1,6 +1,7 @@
---
- name: install libpam-csc
when: "'syscom' not in group_names"
apt: name=libpam-csc state=latest
- name: install required aptitude packages

View File

@ -115,6 +115,16 @@
- name: Install gpg
apt: name=gnupg state=latest
- name: Install rsyslog
apt: name=rsyslog state=latest
# TODO: Configure logging
- name: Restart rsyslog
service:
name: rsyslog
state: restarted
- name: Install fail2ban
apt: name=fail2ban state=latest
@ -124,11 +134,6 @@
- manpages
- info
- name: Install rsyslog
apt: name=rsyslog state=latest
# TODO: Configure logging
- name: Install molly-guard
apt: name=molly-guard state=latest