~/deploy_httpbin$ cat httpbin/tasks/main.yml
---
- name: python3-pip und gunicorn installieren
  apt:
    name:
      - python3-pip
      - gunicorn
    update_cache: yes

- name: httpbin installieren
  pip:
    name:
      - httpbin
 
- name: systemd-Service einspielen
  copy:
    src: httpbin.service
    dest: /etc/systemd/system/httpbin.service
  notify: httpbin starten
