Adjust booleans in monitoring modules. (#5156) (#5170)

(cherry picked from commit 1b480e9f37)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:47:17 +02:00 committed by GitHub
commit f3a2750205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 50 additions and 50 deletions

View file

@ -40,7 +40,7 @@ options:
- can get the original file back if you somehow clobbered it incorrectly.
type: bool
required: false
default: no
default: false
requirements: [ ]
author: Anders Ingemann (@andsens)
'''
@ -133,7 +133,7 @@ def main():
arg_spec = {'name': {'type': 'str', 'required': True},
'path': {'type': 'str', 'default': '/etc/sensu/conf.d/subscriptions.json'},
'state': {'type': 'str', 'default': 'present', 'choices': ['present', 'absent']},
'backup': {'type': 'bool', 'default': 'no'},
'backup': {'type': 'bool', 'default': False},
}
module = AnsibleModule(argument_spec=arg_spec,