FROM jenkinsci/blueocean:latest | |
USER root | |
RUN apk add --no-cache --update \ | |
python \ | |
python-dev \ | |
py-pip \ | |
build-base \ | |
&& pip install virtualenv \ |
* Switch to AHCI mode so USB is detected | |
* Use UFEI Installer on USB stick | |
* Disk is on /dev/nvme0* | |
* Read https://aprescott.com/posts/dual-booting-windows-and-linux-with-encryption | |
* Resize C: from within windows based on http://www.disk-partition.com/articles/shrink-volume-not-enough-space-4348.html | |
* Reboot | |
* Use `gdisk` to create new partitions based on https://wiki.archlinux.org/index.php/Installation_guide and https://wiki.archlinux.org/index.php/Dm-crypt | |
* Install Arch | |
* Reboot |
http://uk.rs-online.com/web/p/wlan-modules/8806821/ Radio Chip http://syncchannel.blogspot.co.uk/2016/06/lorawan-featherwing-for-adafruit-feather.html Breakout board for the above https://www.amazon.co.uk/Sourcingmap-Board-Female-Connector-Adapter/dp/B006Z95OEC/ SMA Connector https://www.amazon.co.uk/Eightwood-Rubber-Antenna-868MHz-870Mhz-radio/dp/B01HZAN7RK/ Antenna An Arduino (or compatible) of some sort to hook up to the lorawan featherwing
Phone: 07950 890377
Email: [email protected]
Twitter: @proffalken
Github: github.com/proffalken github.com/mockingbirdconsulting
Arduino Nano: https://www.amazon.co.uk/gp/product/B015MGHH6Q/ref=oh_aui_detailpage_o09_s01?ie=UTF8&psc=1 9 Degrees of Freedom IMU: https://www.aliexpress.com/item/GY-85-BMP085-Sensor-Modules-9-Axis-Sensor-Module-ITG3205-ADXL345-HMC5883L-6DOF-9DOF-IMU-Sensor/1729723444.html?spm=2114.13010608.0.56.6vYhPq GPS-I2C Converter: https://www.amazon.co.uk/gp/product/B00O7JJ3J4/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 Heli Kit: https://www.amazon.co.uk/Gartt-CopterX-Flybar-Version-Helicopter/dp/B016ZNXUUC/ref=sr_1_1?ie=UTF8&qid=1473673941&sr=8-1&keywords=copterx
TASK: [nsca | Install NSCA Agent] ********************************************* | |
ok: [localhost] | |
TASK: [nsca | Install NSCA Agent] ********************************************* | |
skipping: [localhost] | |
TASK: [nsca | Ensure that the "nagios" user exists] *************************** | |
ok: [localhost] | |
TASK: [nsca | Start and enable the NSCA Service] ****************************** |
Buy it: http://cpc.farnell.com/raspberry-pi/rpi2-modb-8gb-noobs/sbc-rpi-2-model-b8gb-noobs/dp/SC13795 |
Ansible insists on using SystemD when running on Centos7, Docker and SystemD don't play well together, especially if you start to introduce DBUS into the mix as well (firewalld I'm looking at you!). | |
This is totally understandable as Docker is effectively a replacement for systemd (I know that's not strictly accurate, but for now it will suffice!) | |
The primary issue is that Ansible assumes that the process manager (upstart/sysV/SystemD) will be PID 1 and in Docker that's not going to be the case because it's a container meaning that we need to do shitty things like passing "use_docker" as an ansible extra var and then enable/disable in tasks appropriately, working around out testing infrastructure defeating the whole point of having it | |
I don't doubt that Docker is great for testing standalone applications or containers where you are only running Apache/MySQL/whatever but to test Ansible plays seems to be difficult because Ansible expects to see a system process manager and Docker doesn't have one :simple_smi |