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
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:
parent
b64072fbbb
commit
4b4b34e849
|
@ -16,6 +16,14 @@
|
||||||
- apt
|
- apt
|
||||||
when: _trusted_gpg_keyring.stat.exists
|
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
|
- name: Add Evolix GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -16,6 +16,14 @@
|
||||||
- apt
|
- apt
|
||||||
when: _trusted_gpg_keyring.stat.exists
|
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
|
- name: Add Evolix GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -22,6 +22,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Add Docker's official GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: docker-debian.asc
|
src: docker-debian.asc
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Elastic GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: elastic.asc
|
src: elastic.asc
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: elastic_sources is changed
|
when: elastic_sources is changed
|
||||||
|
|
|
@ -41,6 +41,14 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: perc_hba11_search.rc == 0
|
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
|
- name: MegaCLI SAS package is present
|
||||||
block:
|
block:
|
||||||
- name: HWRaid GPG key is installed
|
- name: HWRaid GPG key is installed
|
||||||
|
|
|
@ -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
|
- name: HPE GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: hpePublicKey2048_key1.asc
|
src: hpePublicKey2048_key1.asc
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Elastic GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: elastic.asc
|
src: elastic.asc
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: elastic_sources is changed
|
when: elastic_sources is changed
|
||||||
|
|
|
@ -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
|
- name: Add Fluentd GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: treasuredata.asc
|
src: treasuredata.asc
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
# http://mirrors.jenkins.io/.*
|
# http://mirrors.jenkins.io/.*
|
||||||
# http://jenkins.mirror.isppower.de/.*
|
# 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
|
- name: Add Jenkins GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: jenkins.asc
|
src: jenkins.asc
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Elastic GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: elastic.asc
|
src: elastic.asc
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: elastic_sources is changed
|
when: elastic_sources is changed
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Elastic GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: elastic.asc
|
src: elastic.asc
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: elastic_sources is changed
|
when: elastic_sources is changed
|
||||||
|
|
|
@ -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 }}/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"
|
- "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
|
- name: copy pub.evolix.net GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -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 }}/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"
|
- "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
|
- name: copy pub.evolix.net GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -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 }}/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"
|
- "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
|
- name: copy pub.evolix.net GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: Elastic GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: elastic.asc
|
src: elastic.asc
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: elastic_sources is changed
|
when: elastic_sources is changed
|
||||||
|
|
|
@ -6,6 +6,14 @@
|
||||||
- ansible_distribution_release == "bullseye"
|
- ansible_distribution_release == "bullseye"
|
||||||
- mongodb_version is version('5.2', '<')
|
- 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
|
- name: Add MongoDB GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "server-{{ mongodb_version }}.asc"
|
src: "server-{{ mongodb_version }}.asc"
|
||||||
|
|
|
@ -12,6 +12,14 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: _trusted_gpg_keyring.stat.exists
|
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
|
- name: Add MongoDB GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "server-{{ mongodb_version }}.asc"
|
src: "server-{{ mongodb_version }}.asc"
|
||||||
|
|
|
@ -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
|
- name: Add NewRelic GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: newrelic.asc
|
src: newrelic.asc
|
||||||
|
@ -28,4 +36,4 @@
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: newrelic_sources is changed
|
when: newrelic_sources is changed
|
||||||
|
|
|
@ -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
|
- name: Yarn GPG key is installed
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: yarn.asc
|
src: yarn.asc
|
||||||
|
|
|
@ -15,6 +15,14 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: _trusted_gpg_keyring.stat.exists
|
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
|
- name: Add Percona GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: percona.asc
|
src: percona.asc
|
||||||
|
|
|
@ -6,6 +6,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version is version('10', '<')
|
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
|
- name: copy pub.evolix.org GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: pub_evolix.asc
|
src: pub_evolix.asc
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
|
|
||||||
- ansible.builtin.meta: flush_handlers
|
- 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
|
- name: Add PGDG GPG key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: postgresql.asc
|
src: postgresql.asc
|
||||||
|
|
Loading…
Reference in a new issue