1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update packages.yml

This commit is contained in:
A Holt 2018-10-28 11:52:13 -04:00 committed by GitHub
parent a09c9e3e6f
commit 379102824c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,6 @@
- name: Install yum packages (redhat) - name: Install yum/dnf packages (redhat)
package: package:
name: "{{ item }}" name:
state: present
with_items:
- yum-utils - yum-utils
- createrepo - createrepo
- wpa_supplicant - wpa_supplicant
@ -12,6 +10,7 @@
- nss-mdns - nss-mdns
- avahi - avahi
- avahi-tools - avahi-tools
state: present
when: is_redhat when: is_redhat
- name: Download & install usbmount, missing from Debian Stretch (debian-9) - name: Download & install usbmount, missing from Debian Stretch (debian-9)
@ -20,22 +19,9 @@
#timeout: "{{ download_timeout }}" # Ansible's apt module doesn't support timeout parameter; that's ok as usbmount_0.0.14.1_all.deb is only 10KB #timeout: "{{ download_timeout }}" # Ansible's apt module doesn't support timeout parameter; that's ok as usbmount_0.0.14.1_all.deb is only 10KB
when: internet_available and is_debian_9 when: internet_available and is_debian_9
#- name: Download usbmount -- not in Debian Stretch (debian-9)
# get_url:
# url: "{{ iiab_download_url }}/usbmount_0.0.14.1_all.deb"
# dest: "{{ downloads_dir }}"
# timeout: "{{ download_timeout }}"
# when: internet_available and is_debian_9
#
#- name: Install usbmount (debian-9)
# command: apt install -y {{ downloads_dir }}/usbmount_0.0.14.1_all.deb
# when: is_debian_9
- name: Install packages (debuntu) - name: Install packages (debuntu)
package: package:
name: "{{ item }}" name:
state: present
with_items:
- inetutils-syslogd - inetutils-syslogd
- wpasupplicant - wpasupplicant
- libnss-mdns - libnss-mdns
@ -43,13 +29,12 @@
- avahi-discover - avahi-discover
- exfat-fuse - exfat-fuse
- exfat-utils - exfat-utils
state: present
when: is_debuntu when: is_debuntu
- name: Install common packages - name: Install common packages
package: package:
name: "{{ item }}" name:
state: present
with_items:
- acpid - acpid
- mlocate - mlocate
- rsync - rsync
@ -75,50 +60,14 @@
- gawk - gawk
- curl - curl
- pandoc - pandoc
- lynx - lynx # already installed by 1-prep's roles/iiab-admin/tasks/access.yml
- ntfs-3g - ntfs-3g
#- name: Install pip as a commonly required package management system
# command: curl https://bootstrap.pypa.io/get-pip.py -o {{ downloads_dir }}/get-pip.py
#- name: Run the install script for pip
# command: python {{ downloads_dir }}/get-pip.py
- name: Install common Python packages
package:
name: "{{ item }}"
state: present state: present
with_items:
- name: Install common Python packages {python-pip, python-setuptools, python-virtualenv}
package:
name:
- python-pip - python-pip
- python-setuptools - python-setuptools
- python-virtualenv - python-virtualenv
state: present
# instructions state to start with a fully updated system before starting, stop using
# ansible as a crutch for developers not following the directions and taking short-cuts
#- name: Update common packages (not Debian)
# package: name={{ item }}
# state=latest
# with_items:
# - NetworkManager
# - glibc # CVE-2015-7547
# - bash
# - iptables
# when: is_redhat
# Consensus decision to try to slim down https://github.com/iiab/iiab/issues/518 (per 2017-11-20 community/team call @ http://minutes.iiab.io)
#- name: Update common packages (debuntu)
# package: name={{ item }}
# state=latest
# with_items:
# - libc6
# - bash
# - iptables
# when: is_debuntu
#- name: If version of Network manager has changed, subsequent nmcli commands will fail,restart now
# service: name=NetworkManager
# state=restarted
# when: not installing
# the above should use a handler - all reboots should wait until all
# mods are preformed