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

Vagrant role - mismatched variable name for RHEL #7

Open
bparry02 opened this issue Apr 22, 2020 · 0 comments
Open

Vagrant role - mismatched variable name for RHEL #7

bparry02 opened this issue Apr 22, 2020 · 0 comments

Comments

@bparry02
Copy link

In the Vagrant role, the task for RedHat references a variable redhat_packages, however the variable defined in the vars file is rhel_packages.

The variable name should be changed to be consistent in the task and the vars file.

The workaround for this issue is to set the expected variable to the one defined in the vars file:

- hosts: all
  tasks:
    - import_role:
        name: crivetimihai.virtualization.vagrant
      vars:
        redhat_packages: "{{ rhel_packages }}"
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