Adding openjdk repository for Ubuntu 14.04.
This commit is contained in:
parent
2716f2c7bf
commit
bcd535351b
@ -37,6 +37,14 @@
|
||||
cis_distribution_filename: cis_debian_linux_rcl.txt
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Debian/Ubuntu | Install OpenJDK-8 repo
|
||||
apt_repository:
|
||||
repo: 'ppa:openjdk-r/ppa'
|
||||
state: present
|
||||
update_cache: true
|
||||
when:
|
||||
- (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
|
||||
- when:
|
||||
- wazuh_agent_config.cis_cat.disable == 'no'
|
||||
- wazuh_agent_config.cis_cat.install_java == 'yes'
|
||||
|
||||
@ -64,6 +64,14 @@
|
||||
set_fact:
|
||||
cis_distribution_filename: cis_debian_linux_rcl.txt
|
||||
|
||||
- name: Debian/Ubuntu | Install OpenJDK-8 repo
|
||||
apt_repository:
|
||||
repo: 'ppa:openjdk-r/ppa'
|
||||
state: present
|
||||
update_cache: true
|
||||
when:
|
||||
- (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
|
||||
- when:
|
||||
- wazuh_manager_config.cis_cat.disable == 'no'
|
||||
- wazuh_manager_config.cis_cat.install_java == 'yes'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user