ansible/roles/octoprint/tasks/install.yml

47 lines
1.6 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
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:
- https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
2020-06-08 17:01:19 +00:00
- https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/master.zip
2020-05-26 11:25:34 +00:00
- https://github.com/juniorRubyist/OctoPrint-OctoFlat/archive/master.zip
- https://github.com/kanocz/octopi_eta_override/archive/master.zip
2021-01-01 03:00:12 +00:00
- https://github.com/OllisGit/OctoPrint-SpoolManager/releases/latest/download/master.zip
2020-06-08 17:01:19 +00:00
- https://github.com/OllisGit/OctoPrint-DeleteAfterPrint/releases/latest/download/master.zip
2020-08-09 12:58:47 +00:00
# - https://github.com/OllisGit/OctoPrint-PrintJobHistory/releases/latest/download/master.zip
2020-06-08 17:01:19 +00:00
- https://github.com/paukstelis/OctoPrint-Cancelobject/archive/master.zip
- https://github.com/Renaud11232/OctoPrint-Resource-Monitor/archive/master.zip
2020-07-25 09:04:15 +00:00
- https://github.com/agrif/OctoPrint-InfluxDB/archive/master.zip
2020-08-09 12:58:47 +00:00