Compare commits

...

4 Commits

7 changed files with 20 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
set_fact:
sshfs: sshfs
tar: tar
iftop: iftop
- name: General | Facts | Packages | Parrot OS Fixes
set_fact:

View File

@@ -200,6 +200,9 @@
; mobile : Set to true if not using an amd64 processor.
; Also used to disable tasks not helpful for Pinephone.
;
; redmode : Set to true/false for automatially using Night Light in GNOME.
; Default: true
;
[global]
marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config'
state: present
@@ -216,6 +219,7 @@
vnc: "{{ lookup('ini', 'vnc file={{wrk_file}} default=false') }}"
bsd_gpu: "{{ lookup('ini', 'bsd_gpu file={{wrk_file}} default=false') }}"
mobile: "{{ lookup('ini', 'mobile file={{wrk_file}} default=false') }}"
redmode: "{{ lookup('ini', 'redmode file={{wrk_file}} default=true' ) }}"
- name: General | Account Management | Provisioning Configuration | Workstation | List
set_fact:
@@ -229,6 +233,7 @@
- { 'vnc': "{{ vnc }}" }
- { 'bsd_gpu': "{{ bsd_gpu }}" }
- { 'mobile': "{{ mobile }}" }
- { 'redmode': "{{ redmode }}" }
# No longer mining, this is now considered deprecated.
### Miner ##

View File

@@ -722,6 +722,8 @@
alias_permission_commands: |
alias chown='chown -c'
alias chmod='chmod -c'
alias_iftop: |
alias iftop='sudo iftop'
- name: General | Account Management | Users | Files | Common Variable
set_fact:
@@ -785,6 +787,7 @@
{{ function_update_sdks }}
{{ function_ansible_vars }}
{{ alias_permission_commands }}
{{ alias_iftop }}
- name: General | Account Management | Users | Files | .bashrc
blockinfile:

View File

@@ -56,6 +56,7 @@
- "{{ cron }}"
- "{{ encfs }}"
- rsync
- "{{ iftop }}"
state: present
- name: General | Software | Packages | Install Software (DEV)

View File

@@ -13,8 +13,9 @@
git:
repo: https://github.com/CISOfy/lynis
dest: "{{ lynis_install_dir }}"
clone: yes
force: yes
clone: true
force: true
update: true
ignore_errors: yes
- name: General | Tests | Lynis | Ensure Permissions (Looking at you Parrot OS!)

View File

@@ -8,7 +8,7 @@
flutter_url: "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.27.2-stable.tar.xz"
flutter_download_file: "{{ user_user.home }}/Downloads/flutter.tar.xz"
flutter_sdk_location: "{{ user_user.home }}/SDKs/Flutter"
flutter_report: "{{ user_user.home }}/Reports/flutter.txt"
flutter_report: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.flutter.txt"
when: coding == true
- name: Workstation | Linux | Software | Flutter | Facts [2/4]

View File

@@ -217,7 +217,12 @@
dconf write /org/gnome/desktop/notifications/application/org-gnome-evolution/enable-sound-alerts false && inc_dconf &&
dconf write /org/gnome/desktop/notifications/application/org-gnome-evolution/enable false && inc_dconf &&
dconf write /org/gnome/settings-daemon/plugins/color/night-light-enabled true
# Red Mode (Night Light)
typeset -l redmode
redmode="{{ redmode }}"
if [[ $redmode == "true" ]]; then
dconf write /org/gnome/settings-daemon/plugins/color/night-light-enabled true
fi
dconf write /org/gnome/settings-daemon/plugins/color/night-light-schedule-automatic false
dconf write /org/gnome/settings-daemon/plugins/color/night-light-temperature "uint32 3170"
dconf write /org/gnome/settings-daemon/plugins/color/night-light-schedule-from 2.0