Skip to content

Commit

Permalink
Fix version and remove metricbeats links and nets
Browse files Browse the repository at this point in the history
  • Loading branch information
bsedin committed Sep 8, 2018
1 parent 1bdcb79 commit 03ffe07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ elastic_metricbeat_version: '{{ elastic_beats_version }}'
elastic_metricbeat_dir: /opt/docker/services/elastic-metricbeat
elastic_metricbeat_image: docker.elastic.co/beats/metricbeat:{{ elastic_metricbeat_version }}
elastic_metricbeat_container_name: elastic-metricbeat
elastic_metricbeat_links: []
elastic_metricbeat_networks: '{{ elastic_beats_networks }}'
elastic_metricbeat_volumes:
- '{{ elastic_metricbeat_dir }}/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml'
- /:/hostfs:ro
Expand Down
2 changes: 1 addition & 1 deletion tasks/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
restart: yes
recreate: yes
name: '{{ elastic_filebeat_container_name }}'
image: '{{ elastic_filebeat_image }}:{{ elastic_filebeat_version }}'
image: '{{ elastic_filebeat_image }}'
restart_policy: always
user: root
links: '{{ elastic_filebeat_links }}'
Expand Down
2 changes: 1 addition & 1 deletion tasks/heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
restart: yes
recreate: yes
name: '{{ elastic_heartbeat_container_name }}'
image: '{{ elastic_heartbeat_image }}:{{ elastic_heartbeat_version }}'
image: '{{ elastic_heartbeat_image }}'
restart_policy: always
user: root
links: '{{ elastic_heartbeat_links }}'
Expand Down
4 changes: 1 addition & 3 deletions tasks/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
restart: yes
recreate: yes
name: '{{ elastic_metricbeat_container_name }}'
image: '{{ elastic_metricbeat_image }}:{{ elastic_metricbeat_version }}'
image: '{{ elastic_metricbeat_image }}'
restart_policy: always
user: root
network_mode: host
links: '{{ elastic_metricbeat_links }}'
networks: '{{ elastic_metricbeat_networks }}'
volumes: '{{ elastic_metricbeat_volumes }}'
command: -system.hostfs=/hostfs

0 comments on commit 03ffe07

Please sign in to comment.