ansible/oneoffs/os-version.yml

12 lines
265 B
YAML
Executable File

#!/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 }}"