2017-11-13 13:27:55 +00:00
- name : Install yum packages (redhat)
2017-12-08 05:52:19 +00:00
package :
name : "{{ item }}"
state : present
2017-05-27 18:09:50 +00:00
with_items :
2017-12-08 06:25:19 +00:00
- yum-utils
- createrepo
- wpa_supplicant
- linux-firmware
- syslog
- xml-common
- nss-mdns
- avahi
- avahi-tools
2017-05-27 23:10:45 +00:00
when : is_redhat
2017-05-27 18:09:50 +00:00
2018-09-20 04:49:37 +00:00
- name : Download & install usbmount, missing from Debian Stretch (debian-9)
apt :
deb : "{{ iiab_download_url }}/usbmount_0.0.14.1_all.deb"
2018-09-20 05:02:53 +00:00
#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
2017-12-08 06:25:19 +00:00
when : internet_available and is_debian_9
2017-08-31 19:11:10 +00:00
2018-09-20 04:49:37 +00:00
#- 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
2017-08-31 19:11:10 +00:00
2017-11-13 13:27:55 +00:00
- name : Install packages (debuntu)
2017-12-08 05:52:19 +00:00
package :
name : "{{ item }}"
state : present
2017-05-27 18:09:50 +00:00
with_items :
- inetutils-syslogd
- wpasupplicant
2017-09-24 20:25:57 +00:00
- libnss-mdns
- avahi-daemon
- avahi-discover
2017-11-20 17:58:06 +00:00
- exfat-fuse
- exfat-utils
2017-05-27 23:10:45 +00:00
when : is_debuntu
2017-05-27 18:09:50 +00:00
- name : Install common packages
2017-12-08 05:52:19 +00:00
package :
name : "{{ item }}"
state : present
2017-05-27 18:09:50 +00:00
with_items :
2017-12-08 06:25:19 +00:00
- acpid
- mlocate
- rsync
- htop
2018-09-20 04:49:37 +00:00
#- etckeeper # "nobody is really using etckeeper and it's bloating the filesystem every time apt runs" per @jvonau at https://github.com/iiab/iiab/issues/1146
2017-12-08 06:25:19 +00:00
- python-passlib
- usbmount
- net-tools
- openssh-server
- sudo
- logrotate
- make
- tar
- unzip
- bzip2
- i2c-tools
- bridge-utils
2018-05-12 22:08:07 +00:00
- netmask
2017-12-08 06:25:19 +00:00
- usbutils
- hostapd
- wget
2018-09-20 04:49:37 +00:00
- openssl # FC 18 does not supply, but pear requires
2017-12-08 06:25:19 +00:00
- gawk
- curl
- pandoc
- lynx
- ntfs-3g
2017-05-27 18:09:50 +00:00
2017-09-17 21:16:09 +00:00
#- 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
2017-06-09 23:25:56 +00:00
2017-09-17 21:16:09 +00:00
#- name: Run the install script for pip
# command: python {{ downloads_dir }}/get-pip.py
2017-06-09 23:25:56 +00:00
2017-10-27 15:41:24 +00:00
- name : Install common Python packages
2017-12-08 05:52:19 +00:00
package :
name : "{{ item }}"
state : present
2017-09-17 18:02:50 +00:00
with_items :
2017-12-08 06:25:19 +00:00
- python-pip
- python-setuptools
- python-virtualenv
2017-10-01 10:03:24 +00:00
2017-11-09 10:51:07 +00:00
# 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
2017-05-27 18:09:50 +00:00
2017-11-20 18:04:49 +00:00
# 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)
2017-11-20 17:58:06 +00:00
#- name: Update common packages (debuntu)
# package: name={{ item }}
# state=latest
# with_items:
# - libc6
# - bash
# - iptables
# when: is_debuntu
2017-05-27 18:09:50 +00:00
#- name: If version of Network manager has changed, subsequent nmcli commands will fail,restart now
# service: name=NetworkManager
# state=restarted
# when: not installing
2017-10-01 10:03:24 +00:00
# the above should use a handler - all reboots should wait until all
2017-05-27 18:09:50 +00:00
# mods are preformed