library/roles/ubuntu-deb-general/tasks/packages.yml: The internal repositories fail on i386.

This commit is contained in:
Andrea Dell'Amico 2017-03-17 15:20:23 +01:00
parent 4b2b0fa2bc
commit e49d3be780
1 changed files with 15 additions and 3 deletions

View File

@ -50,14 +50,26 @@
ignore_errors: True
tags: packages
- name: setup system apt repository
apt_repository: repo='deb http://ppa.research-infrastructures.eu/system stable main' update_cache=yes
- name: Remove the broken system apt repository
apt_repository: repo='deb http://ppa.research-infrastructures.eu/system stable main' state=absent
when: is_ubuntu
ignore_errors: True
tags: packages
- name: setup system apt repository
apt_repository: repo='deb [arch=amd64] http://ppa.research-infrastructures.eu/system stable main' update_cache=yes
when: is_ubuntu
ignore_errors: True
tags: packages
- name: Remove the broken system apt repository for specific distributions
apt_repository: repo='deb http://ppa.research-infrastructures.eu/system {{ ansible_distribution_release }} main' state=absent
when: is_trusty
ignore_errors: True
tags: packages
- name: setup system apt repository for specific distributions
apt_repository: repo='deb http://ppa.research-infrastructures.eu/system {{ ansible_distribution_release }} main' update_cache=yes
apt_repository: repo='deb [arch=amd64] http://ppa.research-infrastructures.eu/system {{ ansible_distribution_release }} main' update_cache=yes
when: is_trusty
ignore_errors: True
tags: packages