🎨: use ansible.builtin.package with update_cache systematically

This commit is contained in:
VC
2024-11-06 13:34:03 +01:00
parent 7da2514a93
commit b910bf5e3d
38 changed files with 114 additions and 94 deletions

View File

@@ -26,36 +26,36 @@
group: mastodon
- name: Install prereq
ansible.builtin.apt:
name: "{{ item }}"
ansible.builtin.package:
name:
- imagemagick
- ffmpeg
- libpq-dev
- libxml2-dev
- libxslt1-dev
- file
- git-core
- g++
- libprotobuf-dev
- protobuf-compiler
- pkg-config
- nodejs
- gcc
- autoconf
- bison
- build-essential
- libssl-dev
- libyaml-dev
- libreadline6-dev
- zlib1g-dev
- libncurses5-dev
- libffi-dev
- libgdbm-dev
- libidn11-dev
- libicu-dev
- libjemalloc-dev
state: present
loop:
- imagemagick
- ffmpeg
- libpq-dev
- libxml2-dev
- libxslt1-dev
- file
- git-core
- g++
- libprotobuf-dev
- protobuf-compiler
- pkg-config
- nodejs
- gcc
- autoconf
- bison
- build-essential
- libssl-dev
- libyaml-dev
- libreadline6-dev
- zlib1g-dev
- libncurses5-dev
- libffi-dev
- libgdbm-dev
- libidn11-dev
- libicu-dev
- libjemalloc-dev
update_cache: true
- name: Install rbenv
ansible.builtin.include_tasks: rbenv.yml