Code Monkey home page Code Monkey logo

ansible-role-filebeat's People

Contributors

automationd avatar czerasz avatar leifmadsen avatar sirkjohannsen avatar timorunge avatar torian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-role-filebeat's Issues

Timeout and ansible playbook hangs

Hi,
When i tried , i got timeout and increated the timeout to 1000 in ansible.cfg and the playbook hangs.
do you know how long the filebeat install takes ?

  • name : common tasks
    hosts : all
    roles :

    • common
  • name : configure and deploy filebeat server
    hosts : beats_server
    become: true
    become_method: su
    become_user: root
    roles :

    • {role: filebeat }
      tags:
    • beats

Timeout
ERROR! Timeout (12s) waiting for privilege escalation

Role fails ansible-lint testing

Role fails ansible-lint testing with the following output:

ansible-lint .
[ANSIBLE0008] deprecated sudo feature
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/main.yml:7
{'sudo': True}

[ANSIBLE0008] deprecated sudo feature
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/main.yml:11
{'sudo': True}

[ANSIBLE0011] All tasks should be named
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/main.yml:15
Task/Handler: service state=started name=filebeat enabled=True __line__=15

[ANSIBLE0008] Deprecated sudo
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:3
Task/Handler: filebeat start

[ANSIBLE0008] Deprecated sudo
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:7
Task/Handler: filebeat stop

[ANSIBLE0008] Deprecated sudo
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:11
Task/Handler: filebeat restart

[ANSIBLE0008] deprecated sudo feature
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:3
{'sudo': True}

[ANSIBLE0008] deprecated sudo feature
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:7
{'sudo': True}

[ANSIBLE0008] deprecated sudo feature
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/handlers/main.yml:11
{'sudo': True}

[ANSIBLE0002] Trailing whitespace
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/install/Debian.yml:4
  apt_key: 

[ANSIBLE0002] Trailing whitespace
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/install/Debian.yml:14


[ANSIBLE0015] Found a bare variable 'filebeat_packages' used in a 'with_items' loop. You should use the full variable syntax ('{{filebeat_packages}}')
/home/lmadsen/src/github/leifmadsen/ansible-role-filebeat/tasks/install/RedHat.yml:11
Task/Handler: Install FileBeat (RedHat)

(Pull request coming.)

Create 1.x branch from master

Per another PR, there was a small discussion around branching master into a 1.x branch so that changes for Ansible 2.x could be implemented. I'm just opening an issue so this isn't lost.

Once that is done, I'll open a couple PRs for some changes I wanted to make that clean things up, but which are not backwards compatible to Ansible < 2.1.

Thanks!

getting the apt-key add error can you please help

TASK [filebeat : Elastic APT Key] **********************************************
fatal: [client1]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key add -", "failed": true, "msg": "", "rc": 1, "stderr": "", "stdout": "ERROR: This command can only be used by root.\n", "stdout_lines": ["ERROR: This command can only be used by root."]}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.