Refactor server roles into one that handles all OS physical or virtual
This commit is contained in:
12
server/tasks/main.yml
Normal file
12
server/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# Any server (OS agnostic)
|
||||
# ------------------------------------------------------------------------------
|
||||
- name: Configure any server (OS agnostic)
|
||||
include_tasks: agnostic/main.yml
|
||||
|
||||
|
||||
# Debian server
|
||||
# ------------------------------------------------------------------------------
|
||||
- name: Configure debian/ubuntu server
|
||||
include_tasks: debian/main.yml
|
||||
when: ansible_os_family == "Debian"
|
||||
Reference in New Issue
Block a user