ansible/roles/octoprint/tasks/install.yml

62 lines
2.0 KiB
YAML
Raw Normal View History

2020-05-25 21:44:21 +00:00
---
2020-05-25 22:02:14 +00:00
- become: yes
block:
- name: install needed tools
apt:
update_cache: yes
pkg:
2021-02-23 18:37:36 +00:00
- python3-pip
- python3-all-dev
- python3-setuptools
- python3-virtualenv
2020-05-25 22:02:14 +00:00
- git
- libyaml-dev
- build-essential
2021-02-23 18:37:36 +00:00
- acl
- libjpeg8-dev
2022-10-15 09:59:51 +00:00
- libffi-dev
2020-05-25 21:44:21 +00:00
2020-05-25 22:02:14 +00:00
- name: install octoprint software
2021-02-23 18:37:36 +00:00
become: true
2020-05-25 22:02:14 +00:00
become_user: octoprint
shell:
chdir: /home/octoprint
cmd: |
2020-08-09 12:58:47 +00:00
virtualenv --system-site-packages .
2020-05-25 22:02:14 +00:00
source bin/activate
2021-02-23 18:37:36 +00:00
pip3 install pip --upgrade
pip3 install octoprint
2020-05-25 22:02:14 +00:00
args:
executable: /bin/bash
2020-05-26 11:25:34 +00:00
- name: install plugins
become_user: octoprint
pip:
virtualenv: /home/octoprint
name:
2023-02-04 23:22:08 +00:00
# Bed Visualizer
2020-05-26 11:25:34 +00:00
- https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
2023-02-04 23:22:08 +00:00
# Cancel Objects
2020-06-08 17:01:19 +00:00
- https://github.com/paukstelis/OctoPrint-Cancelobject/archive/master.zip
2023-02-04 23:22:08 +00:00
# Continuous Print
2022-04-14 23:36:26 +00:00
- https://github.com/smartin015/continuousprint/archive/refs/heads/master.zip
2023-02-04 23:22:08 +00:00
# DeleteAfterPrint Plugin
- https://github.com/OllisGit/OctoPrint-DeleteAfterPrint/releases/latest/download/master.zip
# Firmware Updater
2022-04-14 23:36:26 +00:00
- https://github.com/OctoPrint/OctoPrint-FirmwareUpdater/archive/refs/heads/master.zip
2023-02-04 23:22:08 +00:00
# HomeAssistant Discovery
- https://github.com/cmroche/OctoPrint-HomeAssistant/archive/master.zip
# MQTT
- https://github.com/OctoPrint/OctoPrint-MQTT/archive/master.zip
# OctoFlat Theme
- https://github.com/juniorRubyist/OctoPrint-OctoFlat/archive/master.zip
# Octolapse
2022-11-21 23:01:21 +00:00
- https://github.com/FormerLurker/Octolapse/archive/master.zip
2023-02-04 23:22:08 +00:00
# Prusa ETA override Plugin
- https://github.com/kanocz/octopi_eta_override/archive/master.zip
# Prusa MMU
- https://github.com/jukebox42/Octoprint-PrusaMMU/releases/latest/download/Octoprint-PrusaMmu.zip
# Slicer Thumbnails
- https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/master.zip