mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Using Ansible get_url module to fix warnings
Using Ansible 'get_url' modules instead of 'wget' to download usbmout package. Fixes warnings in bug #327
This commit is contained in:
parent
9dbe690c6a
commit
2d433d2872
1 changed files with 6 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
when: ansible_distribution == "Fedora" and ansible_machine == "armv7l" and ansible_distribution_version|int >= 22
|
||||
|
||||
- name: install yum from Fedora 23 for arm!!!
|
||||
shell: dnf install -y https://kojipkgs.fedoraproject.org//packages/yum/3.4.3/506.fc23/noarch/yum-3.4.3-506.fc23.noarch.rpm python-dnf
|
||||
shell: dnf install -y https://kojipkgs.fedoraproject.org//packages/yum/3.4.3/506.fc23/noarch/yum-3.4.3-506.fc23.noarch.rpm python-dnf
|
||||
when: ansible_distribution == "Fedora" and ansible_machine == "armv7l" and ansible_distribution_version|int >= 22
|
||||
|
||||
- name: install yum if it has been dropped from our distribution -- Fedora 22 uses dnf!!!
|
||||
|
@ -39,7 +39,9 @@
|
|||
when: is_redhat
|
||||
|
||||
- name: Download usbmount -- not in debian-9
|
||||
command: wget {{ iiab_download_url }}/usbmount_0.0.14.1_all.deb -P {{ downloads_dir }}
|
||||
get_url:
|
||||
url: "{{ iiab_download_url }}/usbmount_0.0.14.1_all.deb"
|
||||
dest: "{{ downloads_dir }}"
|
||||
when: is_debian_9
|
||||
|
||||
- name: Install usbmount for debian-9
|
||||
|
@ -97,7 +99,7 @@
|
|||
- python-pip
|
||||
- python-setuptools
|
||||
- python-virtualenv
|
||||
|
||||
|
||||
- name: Update common packages (not debian
|
||||
package: name={{ item }}
|
||||
state=latest
|
||||
|
@ -124,7 +126,7 @@
|
|||
# service: name=NetworkManager
|
||||
# state=restarted
|
||||
# when: not installing
|
||||
# the above should use a handler - all reboots should wait until all
|
||||
# the above should use a handler - all reboots should wait until all
|
||||
# mods are preformed
|
||||
|
||||
- name: Install optional exFAT packages for CentOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue