Problem:
When trying to import Ansible variables into Foreman I get the following error:
undefined method `imported=' for #<AnsibleVariable:0x00007f7b643fcaa0>.
However, importing the Ansible roles worked.
Expected outcome:
Import the Ansible Variables in Foreman
Foreman and Proxy versions:
Foreman version: 2.4.0
Plugins:
- foreman-tasks 4.0.1
- foreman_ansible 6.1.1
- foreman_bootdisk 17.0.2
- foreman_hooks 0.3.17
- foreman_remote_execution 4.2.2
- foreman_setup 6.0.0
Distribution and version:
Debian GNU/Linux 10 (buster)
Linux rzvforeman02.vit.de 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux
ansible 2.9.20
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0]
foreman_trace.log (13.5 KB)