add motd; fix warning in ufw enablement

This commit is contained in:
Glenn K. Lockwood
2020-07-26 21:26:36 -07:00
parent 0fd025ee6f
commit c780cb96f2
2 changed files with 18 additions and 2 deletions
+11 -2
View File
@@ -89,6 +89,15 @@
- include: darshan-dev.yml
when: "'darshan_dev' in myconfig and myconfig.darshan_dev"
# Install motd
- name: install MOTD
template:
src: etc/motd
dest: /etc/motd
owner: root
group: root
mode: "0644"
# Configure firewall
- name: allow SSH through UFW
ufw:
@@ -132,7 +141,7 @@
- name: enable UFW
ufw:
state: enabled
logging: yes
state: "enabled"
logging: "on"
tags:
- ufw