mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Testing the module on freebsd fail, since module is not assigned yet
This commit is contained in:
parent
98c729bfd7
commit
f423554e20
1 changed files with 3 additions and 3 deletions
|
@ -218,9 +218,6 @@ def run_acl(module, cmd, check_rc=True):
|
|||
|
||||
|
||||
def main():
|
||||
if get_platform().lower() != 'linux':
|
||||
module.fail_json(msg="The acl module is only available for Linux distributions.")
|
||||
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
name=dict(required=True, aliases=['path'], type='path'),
|
||||
|
@ -245,6 +242,9 @@ def main():
|
|||
supports_check_mode=True,
|
||||
)
|
||||
|
||||
if get_platform().lower() != 'linux':
|
||||
module.fail_json(msg="The acl module is only available for Linux distributions.")
|
||||
|
||||
path = module.params.get('name')
|
||||
entry = module.params.get('entry')
|
||||
entity = module.params.get('entity')
|
||||
|
|
Loading…
Reference in a new issue