12 lines
265 B
YAML
12 lines
265 B
YAML
|
#!/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 }}"
|