Skip to content

Elk vagrant example in March 30 2020 book as well as github #258

@mandrews4

Description

@mandrews4

I'm using vagrant 2.2.6 in a WSL (Windows Services for Linux) Ubuntu environment installed on Windows 10.

Please append a line which is common to your other Vagrantfiles to the Vagrant.configure section:

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "geerlingguy/ubuntu1804"
config.ssh.insert_key = false
config.vm.synced_folder '.', '/vagrant', disabled: true

Otherwise, the "vagrant up" command fails with a WSL specific error

During ansible provisioning of the geerlingguy/ubuntu1804 vm, installation of elasticsearch (using the geerlinguy.elasticsearch role) fails due to the lack of pip in the vm.

The addition of the geerlingguy.pip role prior to the geerlingguy.elasticsearch line in provisioning/elk/main.yml resolves the issue:

roles:
- geerlingguy.java
- geerlingguy.nginx
- geerlingguy.pip
- geerlingguy.elasticsearch
- geerlingguy.elasticsearch-curator
- geerlingguy.kibana
- geerlingguy.logstash
- geerlingguy.filebeat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions