make debian repos customizable

This commit is contained in:
joschneid 2019-01-24 09:01:16 +01:00
parent 82693e34f1
commit 59c3fe0e4b
12 changed files with 14 additions and 7 deletions

View File

@ -9,3 +9,4 @@ elasticsearch_shards: 5
elasticsearch_replicas: 1
elasticsearch_install_java: yes
elasticrepo_gpg_keyserver: pgp.mit.edu
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt

View File

@ -37,7 +37,7 @@
- name: Debian/Ubuntu | Install Elastic repo
apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
repo: "deb {{ elasticrepo_server }} stable main"
state: present
filename: 'elastic_repo'
update_cache: yes

View File

@ -6,3 +6,4 @@ kibana_server_port: "5601"
elastic_stack_version: 6.5.4
wazuh_version: 3.8.0
elasticrepo_gpg_keyserver: pgp.mit.edu
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt

View File

@ -15,7 +15,7 @@
- name: Debian/Ubuntu | Install Elastic repo
apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
repo: "deb {{ elasticrepo_server }} stable main"
state: present
filename: 'elastic_repo'
update_cache: yes

View File

@ -19,3 +19,4 @@ logstash_ssl_key_file: ""
logstash_install_java: yes
elasticrepo_gpg_keyserver: pgp.mit.edu
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt

View File

@ -36,7 +36,7 @@
- name: Debian/Ubuntu | Install Elasticsearch repo
apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
repo: "deb {{ elasticrepo_server }} stable main"
state: present
filename: 'elastic_repo'

View File

@ -29,3 +29,4 @@ filebeat_ssl_key_file: ""
filebeat_ssl_insecure: "false"
elasticrepo_gpg_keyserver: pgp.mit.edu
elasticrepo_server: https://artifacts.elastic.co/packages/6.x/apt

View File

@ -15,6 +15,6 @@
- name: Debian/Ubuntu | Add Filebeat repository.
apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
repo: "deb {{ elasticrepo_server }} stable main"
state: present
update_cache: yes

View File

@ -307,3 +307,4 @@ wazuh_agent_config:
value: Production
wauzhrepo_gpg_keyserver: pgp.mit.edu
wazuhrepo_server: https://packages.wazuh.com/3.x/apt/

View File

@ -15,7 +15,7 @@
- name: Debian/Ubuntu | Add Wazuh repositories
apt_repository:
repo: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
repo: "deb {{ wazuhrepo_server }} stable main"
state: present
update_cache: yes

View File

@ -332,3 +332,5 @@ wazuh_agent_configs:
wauzhrepo_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

View File

@ -15,7 +15,7 @@
- name: Debian/Ubuntu | Add Wazuh repositories
apt_repository:
repo: 'deb https://packages.wazuh.com/3.x/apt/ stable main'
repo: "deb {{ wazuhrepo_server }} stable main"
state: present
update_cache: yes
@ -26,7 +26,7 @@
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
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
update_cache: yes