feat(repo): IaaS baseline
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Gather system facts (hardware)
|
||||
- name: Gather ystem facts (hardware)
|
||||
ansible.builtin.setup:
|
||||
gather_subset:
|
||||
- hardware
|
||||
@@ -67,6 +67,19 @@
|
||||
become: true
|
||||
notify: "notification_restart_alloy"
|
||||
|
||||
- name: Set ACL for data directory
|
||||
ansible.posix.acl:
|
||||
path: "{{ item }}"
|
||||
entity: "alloy"
|
||||
etype: "user"
|
||||
permissions: "x"
|
||||
state: "present"
|
||||
loop:
|
||||
- "{{ node['home_path'] }}"
|
||||
- "{{ node['home_path'] }}/data"
|
||||
become: true
|
||||
when: node['name'] == "app"
|
||||
|
||||
- name: Enable alloy service
|
||||
ansible.builtin.systemd:
|
||||
name: "alloy.service"
|
||||
|
||||
Reference in New Issue
Block a user