Merge pull request #313 from wazuh/feature-312-upgrade-apt-repo
Upgrade APT Wazuh repo
This commit is contained in:
commit
fbba2a1373
@ -33,7 +33,7 @@ wazuh_winagent_config:
|
|||||||
md5: 71650780904cbfc2e45eae4298adb7a3
|
md5: 71650780904cbfc2e45eae4298adb7a3
|
||||||
wazuh_agent_config:
|
wazuh_agent_config:
|
||||||
repo:
|
repo:
|
||||||
apt: 'https://packages.wazuh.com/3.x/apt/ stable main'
|
apt: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
|
||||||
yum: 'https://packages.wazuh.com/3.x/yum/'
|
yum: 'https://packages.wazuh.com/3.x/yum/'
|
||||||
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
||||||
active_response:
|
active_response:
|
||||||
|
|||||||
@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb {{ wazuh_agent_config.repo.apt }}"
|
filename: wazuh_repo
|
||||||
|
repo: "{{ wazuh_agent_config.repo.apt }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ wazuh_manager_package_state: present
|
|||||||
|
|
||||||
wazuh_manager_config:
|
wazuh_manager_config:
|
||||||
repo:
|
repo:
|
||||||
apt: 'https://packages.wazuh.com/3.x/apt/ stable main'
|
apt: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
|
||||||
yum: 'https://packages.wazuh.com/3.x/yum/'
|
yum: 'https://packages.wazuh.com/3.x/yum/'
|
||||||
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
|
||||||
json_output: 'yes'
|
json_output: 'yes'
|
||||||
|
|||||||
@ -31,7 +31,8 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb {{ wazuh_manager_config.repo.apt }}"
|
filename: wazuh_repo
|
||||||
|
repo: "{{ wazuh_manager_config.repo.apt }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user