MSDehghan / AnsiblePlugin

IntelliJ plugin that helps developing Ansible files
129 stars 16 forks source link

Add support for short syntax like template: src=xx dest=yy mode=0644 #13

Open selivan opened 3 years ago

selivan commented 3 years ago

Most of tasks in our playbooks are written in short style, like this:

- name: test
  template: src=foo.cfg.j2 dest=/etc/foo/foo.cfg mode=0644

Using tasks in expanded YAML style makes the playbooks bulky.

Could you please add support for the short style? It works for all types of modules except modules taking free-form argument: shell, command, raw, win_shell.

P.S. Thanks for the plugin.

MSDehghan commented 3 years ago

Hello Thank you for your feature request. I put this feature on list but honestly this is not my top priority. Currently supporting ansible 3.0 and autocomplete on inventory variables is my top priorities. anyway I'll try to implement features on list as far as i can.