Add CachyOS configuration playbook
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
- name: Configure CachyOS workstation
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Verify operating system
|
||||||
|
ansible.builtin.assert:
|
||||||
|
that:
|
||||||
|
- ansible_facts['distribution'] == "CachyOS"
|
||||||
|
fail_msg: "This playbook is intended for CachyOS only."
|
||||||
|
success_msg: "CachyOS detected successfully."
|
||||||
Reference in New Issue
Block a user