Valid play parameters/attributes list

89 views
Skip to first unread message

Keith Gunderson

unread,
Mar 10, 2017, 8:38:49 AM3/10/17
to Ansible Project

Please direct me to a listing of valid play attributes.  Also, what is the preferred term for these, attributes or parameters?  I've wondered this before and thought it must be an oversight in the docs.

My current issue is related to putting a "when" attribute at the play level and receiving the following:

ERROR! 'when' is not a valid attribute for a Play

Thank you,
K.G.

Kai Stian Olstad

unread,
Mar 10, 2017, 10:04:52 AM3/10/17
to ansible...@googlegroups.com

Brian Coca

unread,
Mar 10, 2017, 11:41:30 AM3/10/17
to Ansible Project
I prefer directives, others prefer command/keywords/attributes ... we
might just need to sit down a create a 'project default name' for
these


----------
Brian Coca

Keith Gunderson

unread,
Mar 10, 2017, 9:07:52 PM3/10/17
to Ansible Project
Thank you.  Any other suggestions (or not) for highlighting or simplifying the data presentation for this?

Is directive the choice for naming this?  I could add an issue if would help.  Ideally I could post a fix soon after :)

Brian Coca

unread,
Mar 10, 2017, 9:28:54 PM3/10/17
to Ansible Project
I brought it up with core, we will probably discuss in public IRC
meeting next week.


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages