ansible-role-zammad/tasks/packages.yml

55 lines
1.2 KiB
YAML
Raw Permalink Normal View History

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
- redis
2021-07-28 18:28:22 +02:00
- sudo
- zlib1g-dev
- name: "Packages | Add nodejs repository key"
ansible.builtin.get_url:
url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key
dest: /etc/apt/trusted.gpg.d/nodesource.asc
mode: "0644"
force: true
- 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