mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
PEP 8 indent cleanup. (#20800)
* PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
This commit is contained in:
parent
1c6bb4add9
commit
10d9318de7
244 changed files with 2873 additions and 2973 deletions
|
@ -259,14 +259,14 @@ def main():
|
|||
# initialize
|
||||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
name = dict(required=True, type='str', aliases=['unit', 'service']),
|
||||
state = dict(choices=[ 'started', 'stopped', 'restarted', 'reloaded'], type='str'),
|
||||
enabled = dict(type='bool'),
|
||||
masked = dict(type='bool'),
|
||||
daemon_reload = dict(type='bool', default=False, aliases=['daemon-reload']),
|
||||
user = dict(type='bool', default=False),
|
||||
no_block = dict(type='bool', default=False),
|
||||
),
|
||||
name = dict(required=True, type='str', aliases=['unit', 'service']),
|
||||
state = dict(choices=[ 'started', 'stopped', 'restarted', 'reloaded'], type='str'),
|
||||
enabled = dict(type='bool'),
|
||||
masked = dict(type='bool'),
|
||||
daemon_reload = dict(type='bool', default=False, aliases=['daemon-reload']),
|
||||
user = dict(type='bool', default=False),
|
||||
no_block = dict(type='bool', default=False),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
required_one_of=[['state', 'enabled', 'masked', 'daemon_reload']],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue