Compare commits

..

3 Commits

3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@
ping -c 3 $test_domain
status="$?"
echo "* Status Returned: '$status'"
return $?
return $status
}
test_connection &&
echo -e "\n* Looks good! Not trying anything." &&
+4 -3
View File
@@ -4,7 +4,7 @@
- name: General | Software | AUR | Facts 01
set_fact:
aur_user: aur-user
aur_user: aurbuilder
aur_build_dir: ~/src
aur_helper: yay
aur_helper_url: https://aur.archlinux.org/yay-bin.git
@@ -12,6 +12,7 @@
- name: General | Software | AUR | Facts 02
set_fact:
aur_helper_dir: "{{ aur_build_dir }}/{{ aur_helper }}"
aur_sudoers: "/etc/sudoers.d/sudoers_{{ aur_user }}"
- name: General | Software | AUR | User
user:
@@ -21,7 +22,7 @@
- name: General | Software | AUR | Sudoers
lineinfile:
path: /etc/sudoers.d/aurbuilder
path: "{{ aur_sudoers }}"
line: "{{ aur_user }} ALL=(ALL) NOPASSWD: /usr/bin/pacman"
create: true
mode: '0440'
@@ -42,7 +43,7 @@
dest: "{{ aur_helper_dir }}"
- name: General | Software | AUR | Install | Build & Integrate
command: "cd {{ aur_helper_dir }} && makepkg -si --noconfirm"
shell: "cd {{ aur_helper_dir }} && makepkg -si --noconfirm"
changed_when: true
when: yay_check.rc != 0
+3
View File
@@ -85,6 +85,9 @@
- { "key": '^[\#]?STOP_CHARGE_THRESH_BAT0', "value": '{{ "" if battery else "#" }}STOP_CHARGE_THRESH_BAT0=80'}
- { "key": '^[\#]?START_CHARGE_THRESH_BAT1', "value": '{{ "" if battery else "#" }}START_CHARGE_THRESH_BAT1=60'}
- { "key": '^[\#]?STOP_CHARGE_THRESH_BAT1', "value": '{{ "" if battery else "#" }}STOP_CHARGE_THRESH_BAT1=80'}
# Do not let the WiFi device go DORMANT.
- { "key": '^[\#]?WIFI_PWR_ON_AC, "value": 'WIFI_PWR_ON_AC=off'}
- { "key": '^[\#]?WIFI_PWR_ON_BAT', "value": 'WIFI_PWR_ON_BAT=off'}
## Enable + Start ##