[Server-devel] Internet-in-a-Box 6.4 "Beta" ! NEW: Ansible 2.2.1 rapid-install

Adam Holt holt at laptop.org
Sun Sep 17 10:15:42 EDT 2017


Try any of these 1-line installers on Raspberry Pi:

   http://download.iiab.io/6.4/rpi/load-min-vpn.txt (~6 server apps)
   http://download.iiab.io/6.4/rpi/load-vpn.txt (~12 server apps)
   http://download.iiab.io/6.4/rpi/load-big-vpn.txt (~20 server apps)

Strip off "-vpn" from any above URL if you don't want OpenVPN and
TeamViewer.

If you've never installed Internet-in-a-Box / IIAB on Raspberry Pi
(Raspbian OS) basic instructions are here:

   http://download.iiab.io/6.4/rpi/README.html

Profound Thanks to Jerry Vonau who made this breakthrough experiment
possible (#249 <https://github.com/iiab/iiab/issues/249>) and George Hunt
who explained everything to me en route!



Techie Background / how we got the new Ansible 2.2.1 working: ( in
http://download.iiab.io/6.4/rpi/load.txt )

1) Lines 36-42 install Raspbian Stretch's default Ansible 2.2.1 and fix a
known minor bug therein: *(so we not longer have to wait 7min to compile &
pip install Ansible 2.2.0)*

apt -y install ansible python-kerberos python-selinux python-winrm
python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip
python-keyczar python-boto python-dnspython python-pyrax python-sphere
# Above installs a more future-proof Ansible 2.2.1+
sed -i 's/StrictVersion/LooseVersion/'
/usr/lib/python2.7/dist-packages/ansible/modules/core/web_infrastructure/htpasswd.py
# ABOVE APPLIES TEMPORARY PATCH https://github.com/ansible/ansible/pull/20202
# needed by munin until Ansible 2.3.2 or 2.4.0, to overcome Ansible bug:
#    TASK [munin : Create admin user] ********************************
#    fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true,
#    "msg": "invalid version number '1.7.0.post20170423015547'"}

2) Lines 65-71 patches Admin Console to work with Ansible 2.2.1+:

sed -i 's/local\///' /opt/admin/cmdsrv/cmdsrv.conf
# ABOVE TEMPORARY FIX FOR ADMIN CONSOLE ON ANSIBLE 2.2.1+ ON RASPBIAN STRETCH:
# Changes /usr/local/bin to /usr/bin (for both Ansible paths) on lines 23 & 24:
# https://github.com/iiab/iiab-admin-console/blob/master/roles/cmdsrv/templates/cmdsrv.conf.j2
# To solve this cleanly, Tim may want to create vars/Raspbian.yml alongside:
# https://github.com/iiab/iiab-admin-console/blob/master/vars/Debian.yml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20170917/580b5266/attachment.html>


More information about the Server-devel mailing list