
This moves all image-builder code from the airship/images repository here so resources aren't wasted validating PS's against these tests as they take a long time. Change-Id: I478a817b694b88cf0900c21726ee29b286ec81a3
29 lines
597 B
YAML
29 lines
597 B
YAML
- name: "MOTD | Set Login Prompt"
|
|
copy:
|
|
content: "{{ banners.login }}\n"
|
|
dest: "/etc/issue"
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
- name: "Finalize | Reset MOTD"
|
|
file:
|
|
state: "{{ item }}"
|
|
path: "/etc/update-motd.d/"
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|
|
loop:
|
|
- absent
|
|
- directory
|
|
- name: "Finalize | Remove MOTD News config"
|
|
file:
|
|
state: "absent"
|
|
path: "/etc/default/motd-news"
|
|
- name: "MOTD | Set MOTD"
|
|
copy:
|
|
content: "{{ banners.motd }}"
|
|
dest: "/etc/update-motd.d/00-motd"
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|