From 5b9f8db32797abe9dead72fe8261d4859fdb02d8 Mon Sep 17 00:00:00 2001 From: ~ubergeek Date: Fri, 21 Dec 2018 18:22:22 -0700 Subject: [PATCH] Helps to add the file ^Cunix/ansible/issues/10 --- roles/common/files/motd | 11 +++++++++++ roles/common/tasks/motd.yml | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 roles/common/files/motd create mode 100644 roles/common/tasks/motd.yml diff --git a/roles/common/files/motd b/roles/common/files/motd new file mode 100644 index 0000000..9e4cced --- /dev/null +++ b/roles/common/files/motd @@ -0,0 +1,11 @@ +.___________. __ __ __ __ .__ __. __ ___ ___ +| || | | | | | | | | \ | | | | \ \ / / +`---| |----`| |__| | | | | | | \| | | | \ V / + | | | __ | | | | | | . ` | | | > < + | | | | | | | `--' | | |\ | | | / . \ + |__| |__| |__| \______/ |__| \__| |__| /__/ \__\ + + EST DEC 2018 +brought to you by: + Ubergeek + amcclure diff --git a/roles/common/tasks/motd.yml b/roles/common/tasks/motd.yml new file mode 100644 index 0000000..1495b10 --- /dev/null +++ b/roles/common/tasks/motd.yml @@ -0,0 +1,9 @@ +# This will set our motd +--- +- name: Set MOTD + copy: + src: ../files/motd + dest: /etc/motd + owner: root + group: root + mode: 0644