mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
21 lines
470 B
YAML
21 lines
470 B
YAML
---
|
|
- name: Enable base systemd services
|
|
tags: [services]
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
enabled: true
|
|
state: started
|
|
loop: "{{ enabled_services | default([]) }}"
|
|
loop_control:
|
|
label: "{{ item }}"
|
|
|
|
- name: Enable host systemd services
|
|
tags: [services]
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
enabled: true
|
|
state: started
|
|
loop: "{{ host_enabled_services | default([]) }}"
|
|
loop_control:
|
|
label: "{{ item }}"
|