Importing a Ansible variable into Red Hat Satellite fails with error undefined method `map' for nil:NilClass
Issue
-
Below error is observed in Red Hat Satellite WebUI while importing a Ansible variable or a custom Ansible role:
NoMethodError undefined method `map' for nil:NilClass /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-3.0.7.1/app/services/foreman_ansible/variables_importer.rb:48:in `initialize_variables' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-3.0.7.1/app/services/foreman_ansible/variables_importer.rb:34:in `block in import_variables'
Environment
- Red Hat Satellite 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.