Fix on RHEL based

This commit is contained in:
lulzette 2022-04-26 09:30:03 +00:00
parent e404734204
commit 03b4d44501

View File

@ -50,7 +50,9 @@
file: file:
path: /etc/update-motd.d/50-motd-news path: /etc/update-motd.d/50-motd-news
mode: 644 mode: 644
when: ansible_facts['os_family'] == "Debian"
- name: Do not show help on login - name: Do not show help on login
file: file:
path: /etc/update-motd.d/10-help-text path: /etc/update-motd.d/10-help-text
mode: 644 mode: 644
when: ansible_facts['os_family'] == "Debian"