Skip to content
Snippets Groups Projects
Commit 025bc847 authored by Torben Petersen's avatar Torben Petersen
Browse files

Updates ansible-setup playbook

parent fc3ccf0f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
user: lctc
pass: lctcadminpassword
server:
hostname: rhpc-wifi.ibr.cs.tu-bs.de
hostname: pc13.ibr.cs.tu-bs.de #ansible host
tasks:
- name: install git
become: true
......@@ -42,6 +42,10 @@
become: true
apt:
name: supervisor
- name: install mosquitto
become: true
apt:
name: mosquitto
- name: install Adafruit_GPIO
become: true
pip:
......@@ -72,6 +76,21 @@
pip:
executable: 'pip3'
name: RPi.GPIO
- name: install docopt
become: true
pip:
executable: 'pip3'
name: docopt
- name: install coloredLogs
become: true
pip:
executable: 'pip3'
name: coloredlogs
- name: install paho-mqtt
become: true
pip:
executable: 'pip3'
name: paho-mqtt
- name: Setup dtoverlay
become: true
lineinfile:
......@@ -123,12 +142,12 @@
template:
src: ./setup/99-power-supply.rules
dest: /etc/udev/rules.d/99-power-supply.rules
- name: checkout lctc-software repo with branch lctc-c-v3
- name: checkout lctc-software repo with branch petersen/ansible-deployment
become: false
git:
repo: https://gitlab.ibr.cs.tu-bs.de/lctc/software.git
dest: /home/pi/git/lctc-software/
version: lctc-c-v3
repo: https://gitlab.ibr.cs.tu-bs.de/hartung/testbed-software.git
dest: /home/pi/lctc-software/
version: petersen/ansible-deployment
update: yes
- name: enable supervisord service
become: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment