# Create user elasticsearch for filebeat using ansible playbook

**URL:** <https://forum.ansible.com/t/create-user-elasticsearch-for-filebeat-using-ansible-playbook/37073>\
**Category:** Ansible Project\
**Created:** [September 7, 2022, 11:21am UTC](https://forum.ansible.com/t/create-user-elasticsearch-for-filebeat-using-ansible-playbook/37073 "2022-09-07T11:21:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_Roy](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@Le\_Roy](https://forum.ansible.com/u/Le_Roy)\
**Post date:** [September 7, 2022, 11:21am UTC](https://forum.ansible.com/t/create-user-elasticsearch-for-filebeat-using-ansible-playbook/37073/1 "2022-09-07T11:21:03Z")

</div>

Hi People!

Some one have any Idea how create a User and Role for filebeat and Kibana using a Ansible playbook for deploy Elasticsearch already installed but using Ansible?

Thnak you

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [September 7, 2022, 11:36am UTC](https://forum.ansible.com/t/create-user-elasticsearch-for-filebeat-using-ansible-playbook/37073/2 "2022-09-07T11:36:46Z")

</div>

How would you do this without ansible?

---

<div class="post-metadata">

**Author:** ![Le\_Roy](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@Le\_Roy](https://forum.ansible.com/u/Le_Roy)\
**Post date:** [September 8, 2022, 11:23am UTC](https://forum.ansible.com/t/create-user-elasticsearch-for-filebeat-using-ansible-playbook/37073/3 "2022-09-08T11:23:19Z")

</div>

I have found problem is not in Ansible but other Automation software I’m using that not allow me.
