diff --git a/setup.sh b/setup.sh index df547df..b4fc244 100755 --- a/setup.sh +++ b/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 diff --git a/tasks/general/software/packages.yml b/tasks/general/software/packages.yml index 925932c..93c670f 100644 --- a/tasks/general/software/packages.yml +++ b/tasks/general/software/packages.yml @@ -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