|
|
|
|
@ -37,7 +37,8 @@ class Play(object):
|
|
|
|
|
'handlers', 'remote_user', 'remote_port', 'included_roles', 'accelerate',
|
|
|
|
|
'accelerate_port', 'accelerate_ipv6', 'sudo', 'sudo_user', 'transport', 'playbook',
|
|
|
|
|
'tags', 'gather_facts', 'serial', '_ds', '_handlers', '_tasks',
|
|
|
|
|
'basedir', 'any_errors_fatal', 'roles', 'max_fail_pct', '_play_hosts', 'su', 'su_user', 'vault_password'
|
|
|
|
|
'basedir', 'any_errors_fatal', 'roles', 'max_fail_pct', '_play_hosts', 'su', 'su_user',
|
|
|
|
|
'vault_password', 'no_log',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# to catch typos and so forth -- these are userland names
|
|
|
|
|
@ -47,7 +48,7 @@ class Play(object):
|
|
|
|
|
'tasks', 'handlers', 'remote_user', 'user', 'port', 'include', 'accelerate', 'accelerate_port', 'accelerate_ipv6',
|
|
|
|
|
'sudo', 'sudo_user', 'connection', 'tags', 'gather_facts', 'serial',
|
|
|
|
|
'any_errors_fatal', 'roles', 'role_names', 'pre_tasks', 'post_tasks', 'max_fail_percentage',
|
|
|
|
|
'su', 'su_user', 'vault_password'
|
|
|
|
|
'su', 'su_user', 'vault_password', 'no_log',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# *************************************************
|
|
|
|
|
@ -139,6 +140,7 @@ class Play(object):
|
|
|
|
|
self.max_fail_pct = int(ds.get('max_fail_percentage', 100))
|
|
|
|
|
self.su = ds.get('su', self.playbook.su)
|
|
|
|
|
self.su_user = ds.get('su_user', self.playbook.su_user)
|
|
|
|
|
self.no_log = utils.boolean(ds.get('no_log', 'false'))
|
|
|
|
|
|
|
|
|
|
# gather_facts is not a simple boolean, as None means that a 'smart'
|
|
|
|
|
# fact gathering mode will be used, so we need to be careful here as
|
|
|
|
|
|