initial implementation: common config repo

This commit is contained in:
2026-08-05 08:46:14 -07:00
parent 811086b177
commit 8c585fb355
8 changed files with 60 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
---
apt_packages:
- xz-utils
- tree
- nano
+8
View File
@@ -0,0 +1,8 @@
---
- name: Install baseline packages
ansible.builtin.apt:
name: "{{ apt_packages }}"
state: present
update_cache: true
cache_valid_time: 3600
+7
View File
@@ -0,0 +1,7 @@
---
signalytic_config_dir: /etc/signalytic
# Overridden by group_vars/all.yml (common repo) and host_vars.yml (local repo).
group_version: "unset"
host_version: "unset"
+17
View File
@@ -0,0 +1,17 @@
---
- name: Create signalytic config directory
ansible.builtin.file:
path: "{{ signalytic_config_dir }}"
state: directory
owner: root
group: root
mode: "0755"
- name: Render example.conf
ansible.builtin.template:
src: example.conf.j2
dest: "{{ signalytic_config_dir }}/example.conf"
owner: root
group: root
mode: "0644"
@@ -0,0 +1,2 @@
group_version = {{ group_version }}
host_version = {{ host_version }}