Code Monkey home page Code Monkey logo

ffbsee-deploy-camp-display-ansible's Introduction

Deploy Technik Camp info-beamer

Technik Camp

Dies ist ein Ansible Playbook um info-beamer mit dem Fahrplan auf dem Technik Camp zu deployen.

clonen

git clone --recursive https://github.com/ffbsee/ffbsee-deploy-camp-display-ansible.git

# Clone the Submodules too
cd ansible-deploy-camp-displays
git submodule update --init --recursive

Wie geht das mit dem info-beamer deployen?

  1. Du hast einen Raspberry Pi, der mit Rasbian-lite geflashed ist
  2. Du kannst dich per ssh auf dem raspberry pi anmelden
  3. Erstelle den User ansible Manuell auf dem raspberry pi.
# Beispiel
## add sudo
sudo adduser ansible

## add sudo permissions
echo 'ansible ALL=NOPASSWD: ALL' | sudo EDITOR='tee -a' visudo
  1. Der User ansible hat auch deinen ssh key
# Beispiel
ssh-copy-id ansible@<dein_raspi>
  1. dieses git sollte deinen ssh key und benutzer kennen, sonst darfst du dich nicht mehr anmelden. Wichtige Dateien hierfür sind:
files/ssh_public_keys/ # hier sollten deine ssh public keys hin - so wie die der anderen auch
group_vars/all.yml # hier wird definiert welcher ssh key zu welchen user gehört. Und welche user es überhaupt gibt. und wer root darf. trag dich ein. als user und als root!
  1. Der raspberry pi muss in der Datei ansible/host.ini ergänzt werden. Lass dich an der anderen config inspirieren
  2. Der Ordner $HOME/ansible/ sollte bei dir exestieren!
  3. Nun kannst du das ansible site.yml ausführen:
# führe ansible aus
ansible-playbook site.yml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.