20-general-post-tmp.yml 339 B

123456789101112131415
  1. ---
  2. - name: Post-fix adjustments and corrections - a good test of state of affairs.
  3. hosts: all
  4. become: no
  5. gather_facts: no
  6. tasks:
  7. - name: remove annoying MOTDs
  8. become: yes
  9. ansible.builtin.file:
  10. path: "/etc/motd.d/{{ item }}"
  11. state: absent
  12. loop:
  13. - cockpit
  14. - insights-client
  15. ...