Skip to content

Commit

Permalink
clear motd content
Browse files Browse the repository at this point in the history
  • Loading branch information
brettinternet committed Jun 19, 2024
1 parent 9dad722 commit f2d28d7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ansible/roles/os/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
community.general.timezone:
name: "{{ os__timezone }}"

- name: Clear MOTD
ansible.builtin.copy:
content: ""
dest: /etc/motd
force: true
group: root
owner: root
mode: "0544"

- name: Set hostname to inventory hostname
ansible.builtin.hostname:
name: "{{ inventory_hostname }}"
Expand Down

0 comments on commit f2d28d7

Please sign in to comment.