Skip to content

Commit

Permalink
Adding a friendly MOTD
Browse files Browse the repository at this point in the history
  • Loading branch information
marktheunissen committed Aug 21, 2012
1 parent 9953c76 commit 65dac30
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ubuntu-12.04-lamp-dev/files/etc-update-motd-d-95-ansible
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

echo
echo " ******************************************************"
echo " * This server is configured using Ansible."
echo " * To change configuration, modify the playbooks in"
echo " * /root/server-playbooks, and re-run them."
echo " ******************************************************"
echo
7 changes: 7 additions & 0 deletions ubuntu-12.04-lamp-dev/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
- unzip
- python-mysqldb

##
# Message of the day explaining server purpose.
#
- name: Friendly message of the day
action: copy src=files/etc-update-motd-d-95-ansible dest=/etc/update-motd.d/95-ansible mode=755
tags: common

##
# PHP Setup.
#
Expand Down

0 comments on commit 65dac30

Please sign in to comment.