Minor Enhancements (#33)
* Add some nice to have packages in case custom or HW kernels go bad. * Updates to the usage. * Add a comment for the closure of the program.
This commit is contained in:
parent
e39aeb20e7
commit
c9abdaf8a2
10
setup.sh
10
setup.sh
@ -13,14 +13,18 @@ BRANCH="main"
|
||||
# Accepts 1 parameter, it is used as the exit status.
|
||||
function usage {
|
||||
cat <<- EOF
|
||||
|
||||
$PROG [-l] [-b branch_name] [-h]
|
||||
Program to initialize synchronization with Hyperling's Ansible configuration.
|
||||
$URL
|
||||
$URL
|
||||
|
||||
Parameters:
|
||||
-l : Run the local version associated with this setup.sh.
|
||||
-l : Run the local playbook associated with this $PROG.
|
||||
This is helpful for development or just saving bandwidth.
|
||||
It also provides prettier colors than the plaintext from ansible-pull. ;)
|
||||
-b branch_name: Download and run a specific branch. Default is $BRANCH.
|
||||
-h : Display this help text
|
||||
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
@ -107,6 +111,8 @@ echo "Mounted!"
|
||||
|
||||
echo "Don't forget to set any new users' passwords!"
|
||||
|
||||
## Finish ##
|
||||
|
||||
echo "We're done!"
|
||||
|
||||
exit 0
|
||||
|
@ -61,7 +61,18 @@
|
||||
when: branch == "dev"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: General | Software | Services | Install CROND (Looking at you, Fedora+Mobian)
|
||||
- name: General | Software | Packages | Add Generic Kernel + Tools (Ubuntu)
|
||||
package:
|
||||
name:
|
||||
- linux-image-generic
|
||||
- linux-headers-generic
|
||||
- linux-tools-generic
|
||||
- linux-tools-common
|
||||
state: present
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: General | Software | Services | Install CROND (Looking at you, Fedora)
|
||||
package:
|
||||
name: "{{ cron }}"
|
||||
state: present
|
||||
|
Loading…
x
Reference in New Issue
Block a user