--- - name: Deploy local console login banner ansible.builtin.template: src: issue.j2 dest: /etc/issue owner: root group: root mode: "0644" when: banner_enabled | bool tags: [banners] - name: Deploy network (pre-auth SSH) login banner ansible.builtin.template: src: issue.net.j2 dest: /etc/issue.net owner: root group: root mode: "0644" when: banner_enabled | bool notify: restart sshd (banners) tags: [banners]