From: Ullli Date: Tue, 2 Jun 2026 06:38:36 +0000 (+0200) Subject: added Task für Roundup-Tracker X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/commitdiff_plain/d7d72b49aee25e0e5cc1bb97a6a78eb7f52b11db?ds=inline;hp=50ccaede6372c46e60345b875f3c45c50c140fbc added Task für Roundup-Tracker --- diff --git a/tasks/main.yml b/tasks/main.yml index affc7fd..2b487c2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -67,6 +67,9 @@ - name: Paperless-NGX ansible.builtin.include_tasks: paperless_ngx.yml when: ("paperless_ngx" in group_names) +- name: Roundup-Tracker + ansible.builtin.include_tasks: roundup_tracker.yml + when: ("roundup_tracker" in group_names) # inventroy lieber mit ansible-cmd # Inventory immer als letztes #- name: Include inventory (last task) diff --git a/tasks/roundup_tracker.yml b/tasks/roundup_tracker.yml new file mode 100644 index 0000000..434657a --- /dev/null +++ b/tasks/roundup_tracker.yml @@ -0,0 +1,19 @@ +--- +- name: install server specific packages + ansible.builtin.apt: + update_cache: yes + pkg: + - python3-pip + - python3-virtualenv + +- name: create dir for virtualenv + ansible.builtin.file: + path: /home/ansible/virtualenv + state: directory + +- name: install list of packages _via pip_ # works different with debian 12 + ansible.builtin.pip: + name: roundup + virtualenv: /home/ansible/virtualenv + state: latest +