Match Debian in AFS slug generation

So we can build/publish Debian wheels

Change-Id: Idac3455109f7d1eddbd50ffa0535e873e6eee2db
This commit is contained in:
Ian Wienand 2020-05-27 10:20:00 +10:00
parent e750344180
commit 8892414842

View File

@ -12,10 +12,11 @@
afs_slug: "{{ ansible_distribution|lower }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}" afs_slug: "{{ ansible_distribution|lower }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"
when: ansible_distribution == "CentOS" when: ansible_distribution == "CentOS"
- name: Generate AFS slug - Ubuntu - name: Generate AFS slug - Debuntu
set_fact: set_fact:
afs_slug: "{{ ansible_distribution|lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture }}" afs_slug: "{{ ansible_distribution|lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture }}"
when: ansible_distribution == "Ubuntu" when: ansible_distribution == "Ubuntu" or
ansible_distribution == "Debian"
- name: Set fact for AFS dir - name: Set fact for AFS dir
set_fact: set_fact: