pve_service #67

Merged
erdnaxe merged 11 commits from pve_service into master 2021-11-22 18:32:23 +01:00
Showing only changes of commit 3a56439fac - Show all commits

View file

@ -1,6 +1,5 @@
---
- name: Ensure update-motd.d exists
become: true
file:
path: /etc/update-motd.d
state: directory
@ -9,7 +8,6 @@
group: root
- name: Customize motd
become: true
template:
src: "{{ item }}"
dest: "/etc/update-motd.d/{{ item }}"
@ -23,21 +21,18 @@
notify: Remove cached motd
- name: Remove Debian uname motd
become: true
file:
path: /etc/update-motd.d/10-uname
state: absent
notify: Remove cached motd
- name: Remove Debian warranty motd
become: true
file:
path: /etc/motd
state: absent
notify: Remove cached motd
- name: Ensure motd-messages exists
become: true
file:
path: /etc/motd-messages
state: directory
@ -47,7 +42,6 @@
notify: Remove cached motd
- name: Install additional motd messages
become: true
copy:
content: "✨ {{ item.message }}\n"
dest: "/etc/motd-messages/{{ item.key }}"