AnsweredAssumed Answered

ValueError: need more than 1 value to unpack

Question asked by npaneru on Apr 28, 2015
Latest reply on May 1, 2015 by npaneru
I am getting below error please help

TASK: [group by OS Family] ****************************************************
changed: [xyz] => {"changed": true, "groups": {"Debian": ["xyz"]}}

PLAY [Detecting Operating System] *********************************************

GATHERING FACTS ***************************************************************
ok: [xyz]

TASK: [group by OS Family] ****************************************************
ok: [xyz] => {"changed": false, "groups": {"Debian": ["xyz"]}}

TASK: [sysctl name=vm.swappiness value=0 state=present ignoreerrors=yes] ******
failed: [xyz] => {"failed": true, "parsed": false}
invalid output was:
SUDO-SUCCESS-ylexgchrmxzgdtggksqhxuxiaqlpuzht
Traceback (most recent call last):
  File "/tmp/ansible-tmp-1430240271.66-138820071184519/sysctl", line 1552, in
    main()
  File "/tmp/ansible-tmp-1430240271.66-138820071184519/sysctl", line 327, in main
    result = SysctlModule(module)   
  File "/tmp/ansible-tmp-1430240271.66-138820071184519/sysctl", line 118, in __init__
    self.process()
  File "/tmp/ansible-tmp-1430240271.66-138820071184519/sysctl", line 136, in process
    self.read_sysctl_file()
  File "/tmp/ansible-tmp-1430240271.66-138820071184519/sysctl", line 260, in read_sysctl_file
    k, v = line.split('=',1)
ValueError: need more than 1 value to unpack


FATAL: all hosts have already failed -- aborting
Host:xyz has 1 failures
Control Nodes have failures. Please fix the failures and re-run the installation. For more information refer to the installer log at /opt/mapr-installer/var/mapr-installer.log

Outcomes