Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] Agent installation fails when download URL is a archived file #42

Closed
vicsufer opened this issue Jun 3, 2021 · 0 comments
Closed
Assignees
Labels

Comments

@vicsufer
Copy link
Collaborator

vicsufer commented Jun 3, 2021

Description

It seems that the tasks that unarchive the downloaded files is using an undefined variable

fatal: [wildfly]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'wildfly_install_path' is undefined\n\nThe error appears to be in '/home/victor/git/roles-ansible/wildfly_role/tasks/agent.yml': line 52, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: WildFly | agent installation | Unarchive package\n  ^ here\n"}

Steps to Reproduce

  1. Add an agent configuration downloading an archived file
  2. Run the role

Expected behavior:
The agent is installed properly

Actual behavior:
The playbook fails

Reproduces how often:
[What percentage of the time does it reproduce?]

Environment

ansible --version
ansible 2.9.14
  config file = None
  configured module search path = ['/home/victor/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/victor/.local/share/virtualenvs/wildfly_role-0SW2Tdvt/lib/python3.7/site-packages/ansible
  executable location = /home/victor/.local/share/virtualenvs/wildfly_role-0SW2Tdvt/bin/ansible
  python version = 3.7.9 (default, Oct 27 2020, 09:41:31) [GCC 9.3.0]
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant