Add some oneoff scripts

This commit is contained in:
Salt 2023-06-04 19:55:10 -05:00
parent dfe8007bc5
commit 36e2e73d23
1 changed files with 11 additions and 0 deletions

11
oneoffs/os-version.yml Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
- hosts: all
gather_facts: yes
become: no
tasks:
- name: print os info
debug: msg="{{ item }}"
with_items:
- "{{ ansible_distribution }}"
- "{{ ansible_distribution_version }}"