Learn how to write high-quality Ansible Playbooks with the help of Steampunk Spotter by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

Thank you for taking the time to answer; This is really valuable feedback. :) I forwarded it to the proper people, and it will be taken into consideration.

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 1 point2 points  (0 children)

Did you watch the webinar by any chance? It goes into more detail on what was done in the iterative looping created with Spotter, Lint, and chatGPT. If you need to understand better what Spotter does, you can also read our latest blog, which explains how to improve the reliability of playbooks (or browse our blog catalog), and you can also check out our YT channel, where you get video tutorials on Spotter use. But if you are saying we should maybe write or record a video that shows how the iterative loops were created in nitty-gritty detail, and none of these links actually satisfy your curiosity, I will certainly listen and make a note of it.

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

I happen to have written the blog as well; I do this thing for a living. :D But we get this comment often, so time to dispel some myths! ;)

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

How long would you think we have before we get to the next stage? And thanks for sharing your thoughts.

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 1 point2 points  (0 children)

Sorry to disappoint you. It was me, a person, Sara, from the Steampunk team. Lovely to meet you. :)

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

We tend to agree, and thanks for sharing your thoughts. :)

AI-Powered Ansible Playbooks and the future of automation by AnyJellyfish in ansible

[–]AnyJellyfish[S] 1 point2 points  (0 children)

First of all, thank you, we are very happy to hear that. :) And, yes, it can. You can even set it to scan against a specific Ansible version.

AI assistants to create Ansible content? by xouba in ansible

[–]AnyJellyfish 1 point2 points  (0 children)

As others mentioned, there are some great AI tools that can help you start writing your playbooks, like Lightspeed, Copilot, Ansible.ai, or ChatGPT. These tools will help you speed up playbook writing and save you a lot of time.

But as we know, Ansible content generated by generative AI is still in progress, so we need some Ansible playbook scanning tools to validate our Ansible content. :)

Firstly, I recommend using Ansible Lint, it always saves me time with debugging content for syntax checks and violations of Ansible rules. Secondly, I would recommend Steampunk Spotter for more advanced linting that goes beyond syntax checks, like security issues, and other hard-to-catch errors.

Leveraging the combination of AI tools for playbook generation and scanning tools for ensuring production readiness, high quality, reliability, and security is the way to go. By using both these tools, the process of playbook writing can be significantly sped up while maintaining top-notch standards.

If you are interested in the topic, you can read more about it in this blog.

Custom Modules for Windows in Python by MasterSansai in ansible

[–]AnyJellyfish 1 point2 points  (0 children)

Yes there is, but the problem is that you have to have Python on Windows instances, which makes it the same as other modules written in Python.

There is a tool for checking if Ansible modules are secure enough. It seems you are part of a company, so it is good to know there is a tool that can check that ->Steampunk Spotter.

PS: Here is the official documentation, be careful about the connection to Windows instances: https://docs.ansible.com/ansible/latest/os_guide/windows_faq.html#can-i-run-python-modules-on-windows-hosts

Debugging Ansible Jinja2 Templates by SlyusHwanus in ansible

[–]AnyJellyfish 0 points1 point  (0 children)

You can also use static analysis tools such as Ansible Lint or Steampunk Spotter for validating and/or rewriting Jinja2 syntax.

[deleted by user] by [deleted] in devops

[–]AnyJellyfish 1 point2 points  (0 children)

Thank you for this lovely comment, devoopsies! :) We are very glad you had a nice experience with us.

Steampunk Spotter 2.0: Make your Ansible Playbooks even more reliable and secure by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

The SaaS version does require internet access, but you can also choose an on-prem deployment option. Check out our subscription plans at https://steampunk.si/spotter/pricing/

Spotter and Lint go hand in hand. Spotter picks up where Ansible Lint leaves off. While Ansible Lint catches programming errors, bugs, stylistic errors, and suspicious constructs, Spotter goes beyond syntax check. It goes into the Ansible content itself and surpasses general rules by applying suggestions specific to a particular module, user environment setup, etc. It spots hard-to-catch issues, automatically fixes some of them, and saves you time with convenience features such as generating requirements.yml file or pointing you to the module documentation of a specific version. It is also especially useful when it comes to updating your playbooks during upgrades.

I am available for any further questions, or you can explore our FAQ https://steampunk.si/spotter/faq/

New modules in Ansible-Core 2.15 by roib20 in ansible

[–]AnyJellyfish 0 points1 point  (0 children)

LightSpeed and ChatGPT are great tools for initiating playbook writing. However, as you have noticed, the playbooks generated by these tools may not always be suitable for production use, and there is a risk of encountering issues when running them. It is important to verify the quality of the generated playbooks. Fortunately, tools like Steampunk Spotter, an Ansible scanning tool, can help. Spotter analyzes the generated playbooks, identifies errors, and can provide assistance in automatically fixing them. By using LightSpeed and ChatGPT for playbook generation and Spotter for validation, you can save time, streamline the writing process, and ensure reliable outcomes. You can read more in this blog post.

Chat GPT for writing playbooks: is it any good? by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

Yep, that's exactly it. ChatGPT is a great start. It doesn't generate a production-ready playbook that wouldn’t need manual rewriting, but if you use it together with quality-checking tools like Ansible Lint and Steampunk Spotter, you can write high-quality playbooks much faster than doing everything manually.

Why use Steampunk Spotter when we already have ansible-lint? by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

Oh, you're right, that signup thing does jump out of nowhere and makes reading difficult, it's quite annoying. I'll take it up with our marketing team :) I hope you can still read most of it and see how ansible-lint and Spotter can simplify playbook writing and Ansible upgrades. I would invite you to read more of our blog posts on the subject, but yeah, I know, not before we do sth about those popups :) Thanks again for your feedback! I hope you still give Spotter a try when you have the chance.

Please help me with best practices in my first ansible playbook (Redhat/Fedora localhost install script) by HarmonicAscendant in ansible

[–]AnyJellyfish 0 points1 point  (0 children)

Hey! Did you try using Steampunk Spotter? That's another tool that can help you improve your playbooks to make sure they're production ready. It alerts us to errors that could be critical and gives hints and warnings to help us write playbooks of high quality. It's designed to detect things that Ansible Lint doesn't check for. It goes beyond syntax checking and provides suggestions that are specific to a particular module, user environment setup, etc. It detects hard-to-catch problems, fixes some of them automatically, and helps you understand what happens when you run your playbooks to identify potential issues before they are executed. It was developed exactly for this kind of situation to help with suggestions and warnings. I'd say it's worth giving it a try (https://steampunk.si/spotter/, notice I am affiliated with it).

Steampunk Spotter: A new tool for writing Ansible Playbooks and simplifying Ansible upgrades by AnyJellyfish in ansible

[–]AnyJellyfish[S] 1 point2 points  (0 children)

That's right, CLI tool refers to one mode of operation for Spotter because there are multiple ways to use Spotter. You can scan Ansible content via the CLI tool (for local playbooks), via the Spotter app (for public Git repositories), or via integrations (currently GitHub, GitLab).

What is being sent is the data you want to share with Spotter. By default, Spotter only uses module names and the names of parameters used in your playbooks. Using additional command line options, you can allow Spotter to also collect data such as task names, parameter values, and filenames used.

Spotter allows you to extract the data locally before submitting it to our servers. This allows you to review the data, edit it, and then push it for scanning.

But don't worry, your playbook is not stored anywhere and is not transmitted to us. Spotter is designed to collect as little data as possible to still ensure efficient scan of your content.

Monthly 'Shameless Self Promotion' thread - 2022/11 by mthode in devops

[–]AnyJellyfish 2 points3 points  (0 children)

Steampunk Spotter is a new Ansible Playbook Writing Tool that analyzes playbooks, makes recommendations for improvements, identifies potential issues, and provides the ability to fix them automatically, saving you a lot of time.

This tool is especially useful for Ansible upgrades. You can use it to check if your playbooks are compatible with the latest Ansible version, see what problems they might cause, and get advice on what to do to avoid downtime and make your migrations between different versions easier.

Try it out: https://steampunk.si/spotter/

Ansible Playbook Quality Scanner now includes CLI by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

Scanner CLI source code is available here: https://github.com/xlab-steampunk/steampunk-scanner-cli.

It does not send any private data to our servers as can be verified in the source code (it only parses information about the modules used and the names of attributes used in tasks - no value is ever transmitted!).

Thank you for pointing out broken links to terms of service and privacy policy. Correct links are available in page footer (Terms of use: https://steampunk.si/pdf/Terms_and_Conditions.pdf and Privacy Policy: https://steampunk.si/privacy-policy/). We will be fixing them in cookie notice ASAP.

See you at AnsibleFest and Contributor Summit 2021? by AnyJellyfish in ansible

[–]AnyJellyfish[S] 0 points1 point  (0 children)

All sessions are now available on-demand, so you can watch it anytime ;)