Commit 91d7741f authored by nanahira's avatar nanahira

fix sid

parent 35b3228e
......@@ -55,7 +55,7 @@
- name: set facts for not upgrade
set_fact:
target_distribution: '{{ ansible_distribution_release }}'
when: not upgrade
when: not upgrade and ansible_distribution_release != 'sid'
- name: set facts for Ubuntu upgrade
set_fact:
target_distribution: 'focal'
......@@ -63,7 +63,7 @@
- name: set facts for Debian upgrade
set_fact:
target_distribution: 'buster'
when: upgrade and ansible_distribution == 'Debian'
when: (upgrade or ansible_distribution_release == 'sid') and ansible_distribution == 'Debian'
- name: 系统源 (Debian)
become: true
copy:
......
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