Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
29 lines
566 B
YAML
29 lines
566 B
YAML
---
|
|
|
|
- name: Backports repository is configured
|
|
ansible.builtin.include_role:
|
|
name: evolix/apt
|
|
tasks_from: backports.yml
|
|
tags:
|
|
- nginx
|
|
- packages
|
|
|
|
- name: Prefer Nginx packages from backports
|
|
ansible.builtin.template:
|
|
src: apt/nginx_preferences
|
|
dest: /etc/apt/preferences.d/999-nginx
|
|
force: yes
|
|
mode: "0640"
|
|
register: nginx_apt_preferences
|
|
tags:
|
|
- nginx
|
|
- packages
|
|
|
|
- name: APT cache is updated
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
when: nginx_apt_preferences is changed
|
|
tags:
|
|
- nginx
|
|
- packages
|