8000 BUG in sysctl module: local variable 'err' referenced before assignment · Issue #58158 · ansible/ansible · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BUG in sysctl module: local variable 'err' referenced before assignment #58158
Closed
@iredmail

Description

@iredmail
SUMMARY
master:/usr/local/lib/python2.7/site-packages/ansible/modules/system/sysctl.py", line 297, in reload_sysctl
UnboundLocalError: local variable 'err' referenced before assignment
ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • sysctl
ANSIBLE VERSION
$ ansible --version
ansible 2.7.11
  config file = /Users/zhb/projects/pro/ansible.cfg
  configured module search path = [u'/Users/zhb/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.16 (default, May 24 2019, 09:49:36) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)]
OS / ENVIRONMENT
  • Host OS: macOS 10.14.5
  • Target OS: OpenBSD 6.5 (amd64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects_2.7This issue/PR affects Ansible v2.7bugThis issue/PR relates to a bug.has_prThis issue has an associated PR.moduleThis issue/PR relates to a module.support:coreThis issue/PR relates to code supported by the Ansible Engineering Team.systemSystem category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0