Merge pull request #2235 from drelephant/fixgradle

stop gradle pacman error on ubuntu
This commit is contained in:
Slavi Pantaleev 2022-11-05 15:41:48 +02:00 committed by GitHub
commit 844f05dcef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -74,13 +74,8 @@
msg: "Installing gradle on RedHat ({{ ansible_distribution }}) is currently not supported, so self-building ma1sd cannot happen at this time" msg: "Installing gradle on RedHat ({{ ansible_distribution }}) is currently not supported, so self-building ma1sd cannot happen at this time"
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: Ensure gradle is installed for self-building (Archlinux) - ansible.builtin.include_tasks: "{{ role_path }}/tasks/util/ensure_gradle_installed_archlinux.yml"
community.general.pacman: when: "ansible_distribution == 'Archlinux'"
name:
- gradle
state: present
update_cache: true
when: ansible_distribution == 'Archlinux'
- name: Ensure ma1sd repository is present on self-build - name: Ensure ma1sd repository is present on self-build
ansible.builtin.git: ansible.builtin.git:

View file

@ -0,0 +1,6 @@
---
- name: Ensure gradle installed (Archlinux)
community.general.pacman:
name: gradle
state: present