Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
Disable mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrieu, Alban committed Nov 25, 2017
1 parent afff1eb commit 66208cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/webmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
# and ansible_distribution_version not in ['17.04']
become: yes

- name: webmin | Add webmin mirror repo
apt_repository: repo='deb http://webmin.mirror.somersettechsolutions.co.uk/repository {{ansible_lsb.codename}} contrib' update_cache=yes
when: (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu') and ansible_distribution_version not in ['17.04']
become: yes
ignore_errors: true
#- name: webmin | Add webmin mirror repo
# apt_repository: repo='deb http://webmin.mirror.somersettechsolutions.co.uk/repository {{ansible_lsb.codename}} contrib' update_cache=yes
# when: (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu') and ansible_distribution_version not in ['17.04']
# become: yes
# ignore_errors: true

- name: webmin | Install webmin
action: "{{ ansible_pkg_mgr}} name={{ item }} state={{ webmin_pkg_state|default('present') }} update_cache=yes"
Expand Down

0 comments on commit 66208cc

Please sign in to comment.