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

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrieu, Alban committed Nov 25, 2017
1 parent 7d5d4a8 commit afff1eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/webmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
become: yes

- name: webmin | Add webmin repo
# apt_repository: repo='deb http://download.webmin.com/download/repository {{ansible_lsb.codename}} contrib' update_cache=yes
apt_repository: repo='deb http://download.webmin.com/download/repository sarge contrib' update_cache=yes
# apt_repository: repo='deb https://download.webmin.com/download/repository {{ansible_lsb.codename}} contrib' update_cache=yes
apt_repository: repo='deb https://download.webmin.com/download/repository sarge contrib' update_cache=yes
when: (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu')
# and ansible_distribution_version not in ['17.04']
become: yes
Expand All @@ -40,8 +40,8 @@
ignore_errors: true

- name: webmin | Install webmin
action: "{{ ansible_pkg_mgr}} name={{ item }} state={{ webmin_pkg_state|default('present') }}"
when: ansible_distribution_version not in ['17.04']
action: "{{ ansible_pkg_mgr}} name={{ item }} state={{ webmin_pkg_state|default('present') }} update_cache=yes"
# when: ansible_distribution_version not in ['17.04']
with_items:
- webmin
become: yes
Expand Down

0 comments on commit afff1eb

Please sign in to comment.