diff --git a/test.yaml b/test.yaml index d9c501a..726ac8b 100644 --- a/test.yaml +++ b/test.yaml @@ -2,7 +2,14 @@ - hosts: "{{ target_hosts }}" become: true tasks: - - name: Install Apache2 - ansible.builtin.package: - name: apache2 - state: present \ No newline at end of file + - name: Gather Linux Distribution Facts + ansible.builtin.setup: + filter: ansible_distribution* + + - name: Display Linux Distribution Information + ansible.builtin.debug: + msg: "Linux Distribution: {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_distribution_release | default('') }}" + + - name: Display Linux Kernel Version + ansible.builtin.debug: + msg: "Linux Kernel: {{ ansible_kernel }}" \ No newline at end of file