mirror of
https://github.com/KevinMidboe/schleppe-ha-project.git
synced 2026-02-13 02:59:07 +00:00
ansible plays for docker, haproxy & varnish
This commit is contained in:
7
ansible/plays/get_os.yml
Normal file
7
ansible/plays/get_os.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- debug:
|
||||
msg:
|
||||
- "ansible_distribution {{ hostvars[inventory_hostname].ansible_distribution }}"
|
||||
- "major version {{ hostvars[inventory_hostname].ansible_distribution_major_version }}"
|
||||
- "version {{ hostvars[inventory_hostname].ansible_distribution_version }}"
|
||||
Reference in New Issue
Block a user