Add custom etc/issue

This commit is contained in:
Salt 2020-07-16 08:26:35 -05:00
parent 91f0e853ef
commit 651a353798
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@
mode: "{{ item.mode }}"
loop:
- { src: "hosts", dest: "/etc/hosts", mode: "0644" }
- { src: "issue", dest: "/etc/issue", mode: "0644" }
- name: Set hostname
hostname:
name: "{{ inventory_hostname }}"

View File

@ -0,0 +1,3 @@
{{ ansible_distribution }} {{ ansible_distribution_version }} \l
Ansible: last run {{ ansible_date_time["date"] }} {{ ansible_date_time["time"] }}