AnsiblePlugin icon indicating copy to clipboard operation
AnsiblePlugin copied to clipboard

Autocompletion in task lists

Open JG127 opened this issue 2 years ago • 2 comments

Just to be clear, what I understand being a task list is a .yml document that is included/imported using the include-tasks or import-tasks module. The document contains one flat list of tasks.

Inside such documents the auto completion behaves as being in playbook.

Is there a way to hint the plugin the current document is (not) a task list ?

JG127 avatar Jun 28 '22 07:06 JG127

Hi, Thank you for your report. Currently there is no way to indicate that a file contains only tasks! This feature may be added in future.

MSDehghan avatar Jun 28 '22 07:06 MSDehghan

Ideally the schema would be declared somewhere in the task list, to mark it as such.

The best I can come up with is that .yml files become task lists when they're using in include-tasks or import-tasks. And locates in the tasks directory of roles.


From: Mohammad Sadegh Dehghan @.> Sent: Tuesday, June 28, 2022 09:29 To: MSDehghan/AnsiblePlugin @.> Cc: Jan Goyvaerts @.>; Author @.> Subject: Re: [MSDehghan/AnsiblePlugin] Autocompletion in task lists (Issue #20)

Hi, Thank you for your report. Currently there is no way to indicate that a file contains only tasks! This feature may be added in future.

— Reply to this email directly, view it on GitHubhttps://github.com/MSDehghan/AnsiblePlugin/issues/20#issuecomment-1168341222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMSBERV67JQWO35AD5ZEBCLVRKSUFANCNFSM52BBHEMA. You are receiving this because you authored the thread.Message ID: @.***> This e-mail, its content, and any files attached or otherwise referenced, are confidential and can not be copied, shared, reproduced, or otherwise distributed without formal consent from SpotIT. In case you are not the intended recipient, please notify us and delete all content and conversations that relate to this message. E-mail communication can be intercepted, delayed, destroyed, corrupted, infected, or otherwise contain errors. SpotIT does not accept liability for any loss or damages resulting from this email or the information contained in it.

JG127 avatar Jun 28 '22 08:06 JG127