ansible-role-zammad/tasks/packages.yml

52 lines
1.2 KiB
YAML

---
- name: "Packages | Fakten sammeln"
ansible.builtin.package_facts:
manager: apt
- name: "Packages | Abhängigkeiten installieren"
ansible.builtin.apt:
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
- moreutils
- patch
- pkg-config
- rbenv
- redis
- sudo
- zlib1g-dev
- name: "Packages | Add nodejs repository key"
ansible.builtin.apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key
keyring: /etc/apt/trusted.gpg.d/nodesource.asc
- 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