diff --git a/tasks/debian-general/git.yml b/tasks/debian-general/git.yml index 19c721c..509fa15 100644 --- a/tasks/debian-general/git.yml +++ b/tasks/debian-general/git.yml @@ -1,5 +1,5 @@ --- -- name: Ensure git is installed and updated +- name: (debian) Ensure git is installed and updated ansible.builtin.apt: update_cache: yes name: git diff --git a/tasks/debian-general/hostname-package.yml b/tasks/debian-general/hostname-package.yml index 3efbe49..9d23055 100644 --- a/tasks/debian-general/hostname-package.yml +++ b/tasks/debian-general/hostname-package.yml @@ -1,5 +1,5 @@ --- -- name: Ensure the hostname package is installed and updated +- name: (debian) Ensure the hostname package is installed and updated ansible.builtin.apt: update_cache: yes name: hostname diff --git a/tasks/debian-general/restart-ssh-service.yml b/tasks/debian-general/restart-ssh-service.yml index 6b0a1bb..dd2e0e7 100644 --- a/tasks/debian-general/restart-ssh-service.yml +++ b/tasks/debian-general/restart-ssh-service.yml @@ -1,5 +1,5 @@ --- -- name: Restart SSH service to apply new rules +- name: (debian) Restart SSH service to apply new rules ansible.builtin.systemd: name: ssh state: restarted diff --git a/tasks/debian-general/sshbanner.yml b/tasks/debian-general/sshbanner.yml index b335671..5eb1abc 100644 --- a/tasks/debian-general/sshbanner.yml +++ b/tasks/debian-general/sshbanner.yml @@ -1,5 +1,5 @@ --- -- name: Ensure SSH banner is uncommented and right path in /etc/ssh/sshd_config +- name: (debian) Ensure SSH banner is uncommented and right path in /etc/ssh/sshd_config ansible.builtin.lineinfile: line: "Banner /etc/banner" path: /etc/ssh/sshd_config diff --git a/tasks/rhel-general/git.yml b/tasks/rhel-general/git.yml index 5188aaa..000d4ba 100644 --- a/tasks/rhel-general/git.yml +++ b/tasks/rhel-general/git.yml @@ -1,5 +1,5 @@ --- -- name: Ensure git is installed and updated +- name: (rhel) Ensure git is installed and updated ansible.builtin.yum: update_cache: yes name: git diff --git a/tasks/rhel-general/hostname-package.yml b/tasks/rhel-general/hostname-package.yml index c7ac5d8..ccce94f 100644 --- a/tasks/rhel-general/hostname-package.yml +++ b/tasks/rhel-general/hostname-package.yml @@ -1,5 +1,5 @@ --- -- name: Ensure the hostname package is installed and updated +- name: (rhel) Ensure the hostname package is installed and updated ansible.builtin.yum: update_cache: yes name: hostname diff --git a/tasks/rhel-general/restart-ssh-service.yml b/tasks/rhel-general/restart-ssh-service.yml index e814d68..65c8c12 100644 --- a/tasks/rhel-general/restart-ssh-service.yml +++ b/tasks/rhel-general/restart-ssh-service.yml @@ -1,5 +1,5 @@ --- -- name: Restart SSH service to apply new rules +- name: (rhel) Restart SSH service to apply new rules ansible.builtin.systemd: name: sshd state: restarted diff --git a/tasks/rhel-general/sshbanner.yml b/tasks/rhel-general/sshbanner.yml index b335671..4d155c6 100644 --- a/tasks/rhel-general/sshbanner.yml +++ b/tasks/rhel-general/sshbanner.yml @@ -1,5 +1,5 @@ --- -- name: Ensure SSH banner is uncommented and right path in /etc/ssh/sshd_config +- name: (rhel) Ensure SSH banner is uncommented and right path in /etc/ssh/sshd_config ansible.builtin.lineinfile: line: "Banner /etc/banner" path: /etc/ssh/sshd_config