Setup role 01 host_info
This commit is contained in:
parent
05a89b8e33
commit
35823c2813
6
ansible.cfg
Normal file
6
ansible.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
[defaults]
|
||||
inventory = hosts
|
||||
force_color=true
|
||||
|
||||
[diff]
|
||||
always = yes
|
6
roles/01_host_info/tasks/main.yml
Normal file
6
roles/01_host_info/tasks/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Check distribution is supported
|
||||
ansible.builtin.assert:
|
||||
that: ansible_distribution == "Archlinux"
|
||||
fail_msg: "Distribution '{{ ansible_distribution }}' is not supported."
|
||||
success_msg: "I run Arch, btw"
|
Loading…
Reference in New Issue
Block a user