I have a RHEL 7 server that is running Apache Guacamole.  I had a playbook 
that we turned into a role that's part of an internal collection that used 
to work, but since I have switched it to use community.general.make instead 
of the old make module, the compile using make stopped working.

Here's the call in the role/task:

- name: Install | Compiling Guacamole Server # noqa 503
  community.general.make:
    chdir: "{{ guacamole_src_dir + '/guacamole-server-' + guacamole_version 
}}"
  register: _guacamole_server_compiled
  when: _guacamole_config_server_build['changed']

And when that play is executed, I get the following error:

Traceback (most recent call last):
File 
"/home/sdsuser/.ansible/tmp/ansible-tmp-1686592847.1340995-385-86720942975452/AnsiballZ_make.py",
 
line 107, in <module>
    _ansiballz_main()
  File 
"/home/sdsuser/.ansible/tmp/ansible-tmp-1686592847.1340995-385-86720942975452/AnsiballZ_make.py",
 
line 99, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File 
"/home/sdsuser/.ansible/tmp/ansible-tmp-1686592847.1340995-385-86720942975452/AnsiballZ_make.py",
 
line 48, in invoke_module
    run_name='__main__', alter_sys=True)
  File "/usr/lib64/python2.7/runpy.py", line 176, in run_module
    fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code
    mod_name, mod_fname, mod_loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"/tmp/ansible_community.general.make_payload_ZqrE8r/ansible_community.general.make_payload.zip/ansible_collections/community/general/plugins/modules/make.py",
 
line 233, in <module>
  File 
"/tmp/ansible_community.general.make_payload_ZqrE8r/ansible_community.general.make_payload.zip/ansible_collections/community/general/plugins/modules/make.py",
 
line 228, in main
  File "/usr/lib64/python2.7/pipes.py", line 269, in quote
    for c in file:
TypeError: 'NoneType' object is not iterable

Any thoughts on what could be wrong?

Thanks,
Harry

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/11e25ce9-0e5a-439b-85e7-e555079cc40bn%40googlegroups.com.

Reply via email to