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 provisioner missing use_proxy #178

Open
chodges15 opened this issue May 20, 2020 · 0 comments
Open

Ansible provisioner missing use_proxy #178

chodges15 opened this issue May 20, 2020 · 0 comments

Comments

@chodges15
Copy link

packerlicious version

1.5.0

Expected behavior

Ansible provisioner contains latest available configuration options from Packer 1.5.6.

Actual behavior

AttributeError: ansible object does not support attribute use_proxy

Steps to reproduce

Set a provisioner up like the following:

template.add_provisioner(
            provisioner.Ansible(
                playbook_file=vm_config['ansible_playbook'],
                use_proxy=False,
                ansible_env_vars=[
                    "ANSIBLE_ROLES_PATH=galaxy",
                    "ansible_python_interpreter=/usr/bin/python",
                    "-vv"
                ]
            )
        )
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