Ansible development environment

Na Na picture Na Na · Jul 30, 2015 · Viewed 10.1k times · Source

Currently I'm developing ansible orchestration system. The project structure is something like this:

site.yml webservers.yml fooservers.yml roles/ common/ files/ templates/ tasks/ handlers/ vars/ defaults/ meta/ webservers/ files/ templates/ tasks/ handlers/ vars/ defaults/ meta/

As a result I have to deal with dozens of play-books, roles, subdirectories, tasks, variable files, so on. For now, I use WinSCP as a kind of IDE (I work from Windows dev machine) This solution is far from being perfect but allow me easy navigation among files and folders. In fact I miss Visual Studio (intellisense!) very much. I tried Eclipse installed on my dev machine before but it was too slow. I found shell tools rather uncomfortable. Due to corporate constraints I can not add any more VM-s.

So, my question is: are there any Windows (or lightweight Ubuntu GUI) tools to deal with complicated structure of files and folders for Linux development?

Answer

Mxx picture Mxx · Jul 31, 2015

JetBrains-based IDEs have a YAML/Ansible plugin to add some context and syntax highlighting to Ansible playbook structure.

Sublime has a plugin to add syntax highlighting to Ansible files https://github.com/clifford-github/sublime-ansible

Both tools can display folder structure and connect using sftp/ssh to remote servers.