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

ansible does not use ansible.builtin.include_vars in pre_tasks and use only roles: #181

Open
gilkatz64 opened this issue Feb 13, 2024 · 0 comments
Labels

Comments

@gilkatz64
Copy link

The following playbook runs without any problem from command line

  • name: testing group_vars
    hosts: localhost
    connection: local
    gather_facts: false
    pre_tasks:

    • name: include services yaml files
      ansible.builtin.include_vars:
      dir: group_vars/services

    roles:

    • role: print-test

but when I run this from packer ansible skip pre_tasks section
we are using packer 1.8.3 since we are also using chef provisioner

@gilkatz64 gilkatz64 added the bug label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant