2021-07-28 18:28:22 +02:00
|
|
|
---
|
2023-09-13 20:54:54 +02:00
|
|
|
- name: "Packages | Fakten sammeln"
|
|
|
|
ansible.builtin.package_facts:
|
2021-07-28 18:28:22 +02:00
|
|
|
manager: apt
|
|
|
|
|
2023-09-13 20:54:54 +02:00
|
|
|
- name: "Packages | Abhängigkeiten installieren"
|
|
|
|
ansible.builtin.apt:
|
2021-07-28 18:28:22 +02:00
|
|
|
pkg:
|
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- autotools-dev
|
|
|
|
- bison
|
|
|
|
- build-essential
|
|
|
|
- curl
|
|
|
|
- gawk
|
|
|
|
- git
|
|
|
|
- libffi-dev
|
|
|
|
- libgdbm-dev
|
|
|
|
- libgmp-dev
|
|
|
|
- libimlib2-dev
|
|
|
|
- libncurses5-dev
|
|
|
|
- libpq-dev
|
|
|
|
- libreadline-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libtool
|
|
|
|
- libxml2-dev
|
|
|
|
- libxslt1-dev
|
|
|
|
- libyaml-0-2
|
|
|
|
- libyaml-dev
|
|
|
|
- locales
|
2022-02-01 12:43:42 +01:00
|
|
|
- moreutils
|
2021-07-28 18:28:22 +02:00
|
|
|
- patch
|
|
|
|
- pkg-config
|
|
|
|
- rbenv
|
2023-06-07 23:17:12 +02:00
|
|
|
- redis
|
2021-07-28 18:28:22 +02:00
|
|
|
- sudo
|
|
|
|
- zlib1g-dev
|
2023-12-06 15:46:30 +01:00
|
|
|
|
|
|
|
- name: "Packages | Add nodejs repository key"
|
2023-12-22 10:13:57 +01:00
|
|
|
ansible.builtin.get_url:
|
2023-12-06 15:46:30 +01:00
|
|
|
url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key
|
2023-12-22 10:13:57 +01:00
|
|
|
dest: /etc/apt/trusted.gpg.d/nodesource.asc
|
|
|
|
mode: "0644"
|
|
|
|
force: true
|
2023-12-06 15:46:30 +01:00
|
|
|
|
|
|
|
- name: "Packages | Add nodejs repository"
|
|
|
|
ansible.builtin.apt_repository:
|
|
|
|
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.asc] https://deb.nodesource.com/node_{{ zammad_nodejs_version }}.x nodistro main"
|
|
|
|
|
|
|
|
- name: "Packages | Install nodejs"
|
|
|
|
ansible.builtin.apt:
|
|
|
|
pkg:
|
|
|
|
- nodejs
|
|
|
|
update_cache: true
|