mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-17 02:26:30 +00:00
fix(Makefile, playbook.yml): ensure Ansible syntax-check has access to group_vars and clean up playbook formatting
- Add all group_vars/all/*.yml as extra-vars (-e @file) in Makefile syntax-check - Use consistent quoting in playbook.yml for SOFTWARE_NAME and host_type templating Ref: https://chatgpt.com/share/68cdee8a-4e88-800f-bf62-bed66dbbb417
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
- name: Execute {{ SOFTWARE_NAME }} Play
|
||||
- name: "Execute {{ SOFTWARE_NAME }} Play"
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: "Load 'constructor' tasks"
|
||||
include_tasks: "tasks/stages/01_constructor.yml"
|
||||
- name: "Load '{{host_type}}' tasks"
|
||||
include_tasks: "tasks/stages/02_{{host_type}}.yml"
|
||||
- name: "Load '{{ host_type }}' tasks"
|
||||
include_tasks: "tasks/stages/02_{{ host_type }}.yml"
|
||||
- name: "Load 'destructor' tasks"
|
||||
include_tasks: "tasks/stages/03_destructor.yml"
|
||||
become: true
|
||||
Reference in New Issue
Block a user