Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Elasticsearch startup times out on Centos 7 in Vagrant #315

@tonyrush

Description

@tonyrush

Using the simplest playbook that doesn't error out because the user must be root and the ansible_local provisioner:

  • name: Simple Example
    hosts: localhost
    remote_user: root
    become: yes
    become_method: sudo
    roles:
    • { role: elasticsearch, es_instance_name: "node1" }
      vars:

Fails with:

[Wait for elasticsearch to startup] ***********************
fatal: [localhost]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for localhost:9200"}
to retry, use: --limit @/vagrant/simple.retry

PLAY RECAP *********************************************************************
localhost : ok=39 changed=19 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
s_instance_name: "node1" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions