Add some oneoff scripts
This commit is contained in:
parent
dfe8007bc5
commit
36e2e73d23
11
oneoffs/os-version.yml
Executable file
11
oneoffs/os-version.yml
Executable 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 }}"
|
Loading…
Reference in New Issue
Block a user