Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role can only be executed once #3

Open
stdevel opened this issue Apr 8, 2020 · 0 comments
Open

Role can only be executed once #3

stdevel opened this issue Apr 8, 2020 · 0 comments

Comments

@stdevel
Copy link

stdevel commented Apr 8, 2020

Hi,
thanks for your work on that role - I'm using it quite a lot.

Unfortunately, it seems that it only can be executed once.

During the first run, I'm getting:

TASK [sean797.foreman_installer : Write /etc/foreman-installer/scenarios.d/katello-answers.yaml] ***
changed: [katello]

But if I run the role for a second time I'm getting the following error even if nothing has changed:

TASK [sean797.foreman_installer : Write /etc/foreman-installer/scenarios.d/katello-answers.yaml] ***
fatal: [katello]: FAILED! => {"changed": false, "msg": "AnsibleFilterError: |combine expects dictionaries, got AnsibleUndefined"}

Any hints how to fix this?

Environment is latest CentOS 7.x running in Vagrant/VirtualBox 6.x, leveraging Ansible 2.9.x from EPEL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant