Variablize /usr/local/src. Add quotes for facts with variables. Change how Mullvad is installed on Devuan.

This commit is contained in:
me
2026-08-11 16:34:35 -07:00
parent 451bf41b50
commit 2533f80f40
2 changed files with 17 additions and 15 deletions
+10 -9
View File
@@ -1,25 +1,26 @@
---
# Define file, folder, and other facts per OS.
- name: General | Facts | System | Global [1/2]
- name: General | Facts | System | Global 01
set_fact:
lynis_install_dir: /usr/local/src/lynis
dwm_install_dir: /usr/local/src/dwm
st_install_dir: /usr/local/src/st
global_src: /usr/local/src
global_bin: /usr/local/bin
x_desktops: /usr/share/xsessions
git_repo_http: https://{{ git_host }}/{{ git_user }}/{{ git_project }}
git_repo_ssh: ssh://git@{{ git_host }}:{{ git_ssh_port }}/{{ git_user }}/{{ git_project }}
git_repo_http: "https://{{ git_host }}/{{ git_user }}/{{ git_project }}"
git_repo_ssh: "ssh://git@{{ git_host }}:{{ git_ssh_port }}/{{ git_user }}/{{ git_project }}"
shared_rc_install_dir: ~/.git-env-shared
notify_log: "ansible.notify.log"
runit_script_dir: /etc/runit/sv
runit_service_dir: /etc/runit/runsvdir/default
- name: General | Facts | System | Global [2/2]
- name: General | Facts | System | Global 02
set_fact:
shared_rc_bin: "{{ shared_rc_install_dir }}/bin-shared"
notify_log_file: /var/log/{{ notify_log }}
notify_log_file_wip: /tmp/{{ notify_log }}.wip
notify_log_file: "/var/log/{{ notify_log }}"
notify_log_file_wip: "/tmp/{{ notify_log }}.wip"
lynis_install_dir: "{{ global_src }}/lynis"
dwm_install_dir: "{{ global_src }}/dwm"
st_install_dir: "{{ global_src }}/st"
- name: General | Facts | System | Linux
set_fact: