ansible/oneoffs/os-version.yml

12 lines
265 B
YAML
Raw Normal View History

2023-06-04 19:55:10 -05:00
#!/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 }}"