Code Monkey home page Code Monkey logo

hkcam-update-playbook's Introduction

Update your hkcam

I've made an Ansible playbook to update your hkcam.

Checkout the hkcam project

Matthias Hochgatterer created this awesome project! Check it out on:

Instructions

  1. Download this repository to your Ansible Playbook directory
  2. Change directory to hkcam-update-playbook
  3. Configure the hosts file hosts file with your hostname/ipaddress
  4. Configure the variables in the main.yml
    • hkcam_version
    • download_destination
  5. Run the playbook with this command:
ansible-playbook main.yml -i hosts --ask-pass
  1. The prompt for password is the password of your raspberry
  2. The playbook is finished when you see this:
PLAY RECAP **********************************************************************
raspberrypi.local                : ok=8    changed=7    unreachable=0    failed=0

What does this playbook?

  1. Downloads the release
  2. Extract this release
  3. Stops the hkcam
  4. Changes the hkcam binary in /usr/bin
  5. Starts the hkcam
  6. Deletes the files in download destination

Multiple camera's

If you have multiple cams just place there hostname in de host file. This playbook wil update them in once.

hkcam-update-playbook's People

Contributors

imartzen avatar

Stargazers

 avatar

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.