-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
molecule tests #19
base: master
Are you sure you want to change the base?
molecule tests #19
Conversation
I have made all the tasks pass, and also written molecule tests. Should I containerize the environment and save the image so that there is not dependency problems in the future? Also, what should I do first, upgrade this role to version 8, or start with the ansible-role-elasticsearch role? |
Also, the value of the 'beat_flavour' variable was 'auditbeat', so I think I would need to test with other beats as well? And also with a Windows image? |
In the Github Workflows, when running the role, it says that "Failed to create temporary directory" when trying to gather facts. When I run other tasks before that, I get that the container is not running. When I do some debugging on the workflow runner container, I can see that the docker container exits directly after being created. I get this error sometimes when running the role locally on my computer, but it usually goes away when I run for the second time. |
I am working on writing a role to install Elastic Beats via Docker containers, as we discussed during the last meeting. I have created a role that does this with Elasticsearch, but when working with Elastic Beats, it does not work. When creating an auditbeat docker container manually, and running it, I get this error:
I have debugged this a lot and have not found a solution. I was using this link when working with the audibeat docker container: https://www.elastic.co/guide/en/beats/auditbeat/current/running-on-docker.html. |
Probably you need to run the container in privileged mode or with specific capabilities added. Ask chatgpt about it. |
No description provided.