first commit

This commit is contained in:
ansible user
2025-10-22 14:11:49 +02:00
commit 110301f862
75 changed files with 20802 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Simple script to show current version
hosts: all
gather_facts: no
tasks:
- name: grab current version
ansible.builtin.raw: |
set -e
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
cat /etc/banner | grep 2
register: banner_out
changed_when: true
- name: show the current version
ansible.builtin.debug:
msg: "{{ banner_out.stdout | trim }}"