Ensure {{ apt_keyring_dir }} directory exists
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> Details
gitea/ansible-roles/pipeline/head This commit looks good Details

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