Ensure {{ apt_keyring_dir }} directory exists
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2612|29|2583|13|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/305//ansiblelint">Evolix » ansible-roles » unstable #305</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
David Prevot 2023-07-25 10:59:53 +02:00
parent b64072fbbb
commit 4b4b34e849
22 changed files with 182 additions and 6 deletions

View file

@ -16,6 +16,14 @@
- apt
when: _trusted_gpg_keyring.stat.exists
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Evolix GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -16,6 +16,14 @@
- apt
when: _trusted_gpg_keyring.stat.exists
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Evolix GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -22,6 +22,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Docker's official GPG key
ansible.builtin.copy:
src: docker-debian.asc

View file

@ -5,6 +5,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Elastic GPG key is installed
ansible.builtin.copy:
src: elastic.asc
@ -33,4 +41,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: elastic_sources is changed
when: elastic_sources is changed

View file

@ -41,6 +41,14 @@
state: absent
when: perc_hba11_search.rc == 0
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: MegaCLI SAS package is present
block:
- name: HWRaid GPG key is installed

View file

@ -1,5 +1,13 @@
---
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: HPE GPG key is installed
ansible.builtin.copy:
src: hpePublicKey2048_key1.asc

View file

@ -5,6 +5,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Elastic GPG key is installed
ansible.builtin.copy:
src: elastic.asc
@ -33,4 +41,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: elastic_sources is changed
when: elastic_sources is changed

View file

@ -1,5 +1,13 @@
---
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Fluentd GPG key
ansible.builtin.copy:
src: treasuredata.asc

View file

@ -5,6 +5,14 @@
# http://mirrors.jenkins.io/.*
# http://jenkins.mirror.isppower.de/.*
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Jenkins GPG key
ansible.builtin.copy:
src: jenkins.asc

View file

@ -5,6 +5,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Elastic GPG key is installed
ansible.builtin.copy:
src: elastic.asc
@ -33,4 +41,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: elastic_sources is changed
when: elastic_sources is changed

View file

@ -5,6 +5,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Elastic GPG key is installed
ansible.builtin.copy:
src: elastic.asc
@ -33,4 +41,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: elastic_sources is changed
when: elastic_sources is changed

View file

@ -27,6 +27,14 @@
- "deb [signed-by={{ lxc_apt_keyring_dir }}/sury.gpg] https://packages.sury.org/php/ bullseye main"
- "deb [signed-by={{ lxc_apt_keyring_dir }}/pub_evolix.asc] http://pub.evolix.org/evolix bullseye-php80 main"
- name: "Ensure {{ lxc_rootfs }}{{ apt_keyring_dir }} directory exists"
file:
path: "{{ lxc_rootfs }}{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: copy pub.evolix.net GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -26,6 +26,14 @@
- "deb [signed-by={{ lxc_apt_keyring_dir }}/sury.gpg] https://packages.sury.org/php/ bullseye main"
- "deb [signed-by={{ lxc_apt_keyring_dir }}/pub_evolix.asc] http://pub.evolix.org/evolix bullseye-php81 main"
- name: "Ensure {{ lxc_rootfs }}{{ apt_keyring_dir }} directory exists"
file:
path: "{{ lxc_rootfs }}{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: copy pub.evolix.net GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -26,6 +26,14 @@
- "deb [signed-by={{ apt_keyring_dir }}/sury.gpg] https://packages.sury.org/php/ bullseye main"
- "deb [signed-by={{ apt_keyring_dir }}/pub_evolix.asc] http://pub.evolix.org/evolix bullseye-php82 main"
- name: "Ensure {{ lxc_rootfs }}{{ apt_keyring_dir }} directory exists"
file:
path: "{{ lxc_rootfs }}{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: copy pub.evolix.net GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -5,6 +5,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Elastic GPG key is installed
ansible.builtin.copy:
src: elastic.asc
@ -33,4 +41,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: elastic_sources is changed
when: elastic_sources is changed

View file

@ -6,6 +6,14 @@
- ansible_distribution_release == "bullseye"
- mongodb_version is version('5.2', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add MongoDB GPG key
ansible.builtin.copy:
src: "server-{{ mongodb_version }}.asc"

View file

@ -12,6 +12,14 @@
state: absent
when: _trusted_gpg_keyring.stat.exists
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add MongoDB GPG key
ansible.builtin.copy:
src: "server-{{ mongodb_version }}.asc"

View file

@ -1,5 +1,13 @@
---
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add NewRelic GPG key
ansible.builtin.copy:
src: newrelic.asc
@ -28,4 +36,4 @@
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes
when: newrelic_sources is changed
when: newrelic_sources is changed

View file

@ -1,5 +1,13 @@
---
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Yarn GPG key is installed
ansible.builtin.copy:
src: yarn.asc

View file

@ -15,6 +15,14 @@
state: absent
when: _trusted_gpg_keyring.stat.exists
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add Percona GPG key
ansible.builtin.copy:
src: percona.asc

View file

@ -6,6 +6,14 @@
state: present
when: ansible_distribution_major_version is version('10', '<')
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: copy pub.evolix.org GPG key
ansible.builtin.copy:
src: pub_evolix.asc

View file

@ -8,6 +8,14 @@
- ansible.builtin.meta: flush_handlers
- name: "Ensure {{ apt_keyring_dir }} directory exists"
file:
path: "{{ apt_keyring_dir }}"
state: directory
mode: "755"
owner: root
group: root
- name: Add PGDG GPG key
ansible.builtin.copy:
src: postgresql.asc