make debian repos customizable
This commit is contained in:
parent
82693e34f1
commit
59c3fe0e4b
@ -9,3 +9,4 @@ elasticsearch_shards: 5
|
|||||||
elasticsearch_replicas: 1
|
elasticsearch_replicas: 1
|
||||||
elasticsearch_install_java: yes
|
elasticsearch_install_java: yes
|
||||||
elasticrepo_gpg_keyserver: pgp.mit.edu
|
elasticrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install Elastic repo
|
- name: Debian/Ubuntu | Install Elastic repo
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
|
repo: "deb {{ elasticrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
filename: 'elastic_repo'
|
filename: 'elastic_repo'
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|||||||
@ -6,3 +6,4 @@ kibana_server_port: "5601"
|
|||||||
elastic_stack_version: 6.5.4
|
elastic_stack_version: 6.5.4
|
||||||
wazuh_version: 3.8.0
|
wazuh_version: 3.8.0
|
||||||
elasticrepo_gpg_keyserver: pgp.mit.edu
|
elasticrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install Elastic repo
|
- name: Debian/Ubuntu | Install Elastic repo
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
|
repo: "deb {{ elasticrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
filename: 'elastic_repo'
|
filename: 'elastic_repo'
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|||||||
@ -19,3 +19,4 @@ logstash_ssl_key_file: ""
|
|||||||
logstash_install_java: yes
|
logstash_install_java: yes
|
||||||
|
|
||||||
elasticrepo_gpg_keyserver: pgp.mit.edu
|
elasticrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install Elasticsearch repo
|
- name: Debian/Ubuntu | Install Elasticsearch repo
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
|
repo: "deb {{ elasticrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
filename: 'elastic_repo'
|
filename: 'elastic_repo'
|
||||||
|
|
||||||
|
|||||||
@ -29,3 +29,4 @@ filebeat_ssl_key_file: ""
|
|||||||
filebeat_ssl_insecure: "false"
|
filebeat_ssl_insecure: "false"
|
||||||
|
|
||||||
elasticrepo_gpg_keyserver: pgp.mit.edu
|
elasticrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt
|
||||||
|
|||||||
@ -15,6 +15,6 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add Filebeat repository.
|
- name: Debian/Ubuntu | Add Filebeat repository.
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
|
repo: "deb {{ elasticrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|||||||
@ -307,3 +307,4 @@ wazuh_agent_config:
|
|||||||
value: Production
|
value: Production
|
||||||
|
|
||||||
wauzhrepo_gpg_keyserver: pgp.mit.edu
|
wauzhrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
wazuhrepo_server: https://packages.wazuh.com/3.x/apt/
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
|
repo: "deb {{ wazuhrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
|
|||||||
@ -332,3 +332,5 @@ wazuh_agent_configs:
|
|||||||
|
|
||||||
wauzhrepo_gpg_keyserver: pgp.mit.edu
|
wauzhrepo_gpg_keyserver: pgp.mit.edu
|
||||||
nodejsrepo_gpg_keyserver: pgp.mit.edu
|
nodejsrepo_gpg_keyserver: pgp.mit.edu
|
||||||
|
wazuhrepo_server: https://packages.wazuh.com/3.x/apt/
|
||||||
|
nodejsrepo_server: https://deb.nodesource.com/node_6.x
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
|
repo: "deb {{ wazuhrepo_server }} stable main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
|
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb https://deb.nodesource.com/node_6.x {{ ansible_distribution_release }} main"
|
repo: "deb {{ nodejsrepo_server }} {{ ansible_distribution_release }} main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user