AnsiblePlugin icon indicating copy to clipboard operation
AnsiblePlugin copied to clipboard

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

Open selivan opened this issue 3 years ago • 1 comments

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.

selivan avatar Mar 05 '21 23:03 selivan

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.

MSDehghan avatar Mar 09 '21 07:03 MSDehghan