Commit 446b07b3 authored by nanahira's avatar nanahira

fix

parent 9b4d1f0b
Pipeline #16851 failed with stage
in 7 minutes and 56 seconds
......@@ -8,12 +8,12 @@
when: china_mirror_docker
- name: target distribution for non-sid
set_fact:
docker_distribution: '{{ ansible_distribution_release|lower }}'
when: ansible_distribution_release != 'sid' and ansible_distribution_release != 'bullseye'
docker_distribution: '{{ target_distribution }}'
when: ansible_distribution_release != 'sid' and target_distribution != 'bullseye'
- name: target distribution for sid
set_fact:
docker_distribution: bullseye
when: ansible_distribution_release == 'sid' or ansible_distribution_release == 'bullseye'
when: ansible_distribution_release == 'sid' or target_distribution == 'bullseye'
- name: Docker apt 源公钥
become: true
apt_key:
......
......@@ -115,3 +115,8 @@
marker: '# {mark} MyCard Init block'
when: ansible_os_family == 'Debian' and laptop
notify: restart_logind
- name: install snap proxy package
become: true
snap:
name: snap-store-proxy,snap-store-proxy-client
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 18
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment