mirror of
https://github.com/bytedance/g3.git
synced 2026-04-26 10:41:37 +00:00
ansible: switch to use the rolling binary package repo
This commit is contained in:
parent
64a8e822bd
commit
704e41160a
2 changed files with 4 additions and 4 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
- name: Import apt key for G3 repo
|
||||
ansible.builtin.get_url:
|
||||
url: https://dl.cloudsmith.io/public/g3-oqh/g3-J0E/gpg.7E0155A319493E68.key
|
||||
url: https://dl.cloudsmith.io/public/g3-oqh/g3-rolling/gpg.5AC77C44E1B53433.key
|
||||
dest: /etc/apt/keyrings/g3.gpg.ascii
|
||||
owner: root
|
||||
group: root
|
||||
|
|
@ -43,6 +43,6 @@
|
|||
- name: Add G3 repo
|
||||
ansible.builtin.apt_repository:
|
||||
filename: g3
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/g3.gpg] https://dl.cloudsmith.io/public/g3-oqh/g3-J0E/deb/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/g3.gpg] https://dl.cloudsmith.io/public/g3-oqh/g3-rolling/deb/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
||||
state: present
|
||||
update_cache: true
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
ansible.builtin.yum_repository:
|
||||
name: g3
|
||||
description: G3 repo
|
||||
baseurl: https://dl.cloudsmith.io/public/g3-oqh/g3-J0E/rpm/el/$releasever/$basearch
|
||||
gpgkey: https://dl.cloudsmith.io/public/g3-oqh/g3-J0E/gpg.7E0155A319493E68.key
|
||||
baseurl: https://dl.cloudsmith.io/public/g3-oqh/g3-rolling/rpm/el/$releasever/$basearch
|
||||
gpgkey: https://dl.cloudsmith.io/public/g3-oqh/g3-rolling/gpg.5AC77C44E1B53433.key
|
||||
enabled: true
|
||||
proxy: "{{ g3_repo_proxy | default('_none_') }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue