Merge pull request #110 from wazuh/3.7-concurrent-packages
Installing concurrent apt packages
This commit is contained in:
commit
07dacae92d
@ -1,12 +1,8 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- when: elasticsearch_install_java
|
||||
block:
|
||||
|
||||
@ -1,12 +1,8 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- name: Debian/Ubuntu | Add Elasticsearch GPG key
|
||||
apt_key:
|
||||
|
||||
@ -1,12 +1,8 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- when: logstash_install_java
|
||||
block:
|
||||
|
||||
@ -1,12 +1,9 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
|
||||
- name: Debian/Ubuntu | Add Elasticsearch apt key.
|
||||
apt_key:
|
||||
|
||||
@ -1,12 +1,8 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- name: Debian/Ubuntu | Installing repository key
|
||||
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||
@ -49,15 +45,11 @@
|
||||
|
||||
- name: Debian/Ubuntu | Install OpenScap
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['libopenscap8', 'xsltproc']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
when: wazuh_agent_config.openscap.disable == 'no'
|
||||
with_items:
|
||||
- libopenscap8
|
||||
- xsltproc
|
||||
tags:
|
||||
- init
|
||||
when: wazuh_agent_config.openscap.disable == 'no'
|
||||
tags:
|
||||
- init
|
||||
|
||||
- name: Debian/Ubuntu | Get OpenScap installed version
|
||||
shell: "dpkg-query --showformat='${Version}' --show libopenscap8"
|
||||
|
||||
@ -1,12 +1,8 @@
|
||||
---
|
||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['apt-transport-https', 'ca-certificates']
|
||||
state: present
|
||||
cache_valid_time: 3600
|
||||
with_items:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||
|
||||
Loading…
Reference in New Issue
Block a user