diff --git a/.github/workflows/auto-update-iso.yml b/.github/workflows/auto-update-iso.yml index cf35fe7e..db367eb5 100644 --- a/.github/workflows/auto-update-iso.yml +++ b/.github/workflows/auto-update-iso.yml @@ -8,6 +8,7 @@ env: UBUNTU_RELEASE: focal jobs: update-ubuntu: + if: github.repository == 'jmunixusers/cs-vm-build' name: Update Ubuntu ISO file name runs-on: ubuntu-latest steps: diff --git a/roles/eclipse/tasks/main.yml b/roles/eclipse/tasks/main.yml index c4dc3505..1ddd4d30 100644 --- a/roles/eclipse/tasks/main.yml +++ b/roles/eclipse/tasks/main.yml @@ -43,7 +43,7 @@ {{ eclipse.install_path }}/eclipse -nosplash -application org.eclipse.equinox.p2.director - -repository http://eclipse-cs.sourceforge.net/update/ + -repository https://checkstyle.org/eclipse-cs-update-site/ -installIU net.sf.eclipsecs.feature.group -destination {{ eclipse.install_path }} args: diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml index 235ff53a..a30c4cd7 100644 --- a/roles/user/tasks/main.yml +++ b/roles/user/tasks/main.yml @@ -79,6 +79,7 @@ group: '{{ item.gid }}' mode: "0750" with_items: "{{ real_users }}" + when: "ansible_distribution == 'Linux Mint'" - name: Add profile to user bashrc lineinfile: path: '{{ item.homedir }}/.bashrc' diff --git a/scripts/oem-build b/scripts/oem-build index 1d2b2257..87d032f2 100755 --- a/scripts/oem-build +++ b/scripts/oem-build @@ -86,7 +86,7 @@ main () { apt-get update user "Installing prerequisite packages" - apt-get install -V ansible git aptitude gcc make perl \ + apt-get install -V -y ansible git aptitude gcc make perl \ || error "Unable to install prerequisite packages" user "Attempting to install VBox Guest Additions"