ソースを参照

Merge pull request #2235 from drelephant/fixgradle

stop gradle pacman error on ubuntu
pull/2237/head
Slavi Pantaleev 3年前
committed by GitHub
コミット
844f05dcef
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
2個のファイルの変更8行の追加7行の削除
  1. +2
    -7
      roles/custom/matrix-ma1sd/tasks/setup_install.yml
  2. +6
    -0
      roles/custom/matrix-ma1sd/tasks/util/ensure_gradle_installed_archlinux.yml

+ 2
- 7
roles/custom/matrix-ma1sd/tasks/setup_install.yml ファイルの表示

@@ -74,13 +74,8 @@
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'

- name: Ensure gradle is installed for self-building (Archlinux)
community.general.pacman:
name:
- gradle
state: present
update_cache: true
when: ansible_distribution == 'Archlinux'
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/util/ensure_gradle_installed_archlinux.yml"
when: "ansible_distribution == 'Archlinux'"

- name: Ensure ma1sd repository is present on self-build
ansible.builtin.git:


+ 6
- 0
roles/custom/matrix-ma1sd/tasks/util/ensure_gradle_installed_archlinux.yml ファイルの表示

@@ -0,0 +1,6 @@
---

- name: Ensure gradle installed (Archlinux)
community.general.pacman:
name: gradle
state: present

読み込み中…
キャンセル
保存