tlp, attempt to automate enabling with runit.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
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]
|
||||
set_fact:
|
||||
@@ -27,7 +29,6 @@
|
||||
shutdown_command: sudo shutdown -h now
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
|
||||
- name: General | Facts | System | FreeBSD
|
||||
set_fact:
|
||||
rc_conf: /etc/rc.conf
|
||||
@@ -35,14 +36,19 @@
|
||||
shutdown_command: sudo shutdown -p now
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
||||
- name: General | Facts | System | Report File Names
|
||||
set_fact:
|
||||
lynis_report: "lynis_hardness_check.txt"
|
||||
nmap_report: "nmap_port_check.txt"
|
||||
|
||||
|
||||
- name: General | Facts | System | Ansible Branch
|
||||
set_fact:
|
||||
branch: main
|
||||
when: branch is not defined
|
||||
|
||||
- name: General | Facts | System | runit (Devuan)
|
||||
set_fact:
|
||||
runit_script_dir: /etc/sv
|
||||
runit_service_dir: /etc/services
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user