1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allow specifying when: ...

This commit is contained in:
Daniel Hokka Zakrisson 2012-11-22 23:11:42 +01:00
parent fd732f8d3b
commit d5dd89a8f7

View file

@ -35,7 +35,7 @@ class Task(object):
'name', 'action', 'only_if', 'async', 'poll', 'notify',
'first_available_file', 'include', 'tags', 'register', 'ignore_errors',
'delegate_to', 'local_action', 'transport', 'sudo', 'sudo_user',
'sudo_pass'
'sudo_pass', 'when'
]
def __init__(self, play, ds, module_vars=None):