Code Monkey home page Code Monkey logo

Comments (5)

tenthirtyam avatar tenthirtyam commented on May 29, 2024 1

I'll run a test on AlmaLinux in my testbed now. It's been working for quite some time now with the following unless something has changed recently in 8.5.

provisioner "ansible" {
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg",
"ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
]
extra_arguments = [
"--extra-vars", "display_skipped_hosts=false",
"--extra-vars", "BUILD_USERNAME=${var.build_username}",
"--extra-vars", "BUILD_SECRET='${var.build_key}'",
"--extra-vars", "ANSIBLE_USERNAME=${var.ansible_username}",
"--extra-vars", "ANSIBLE_SECRET='${var.ansible_key}'",
]
}

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 29, 2024 1

I can confirm that I'm seeing the same. I'll issue a patch to main.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

from packer-examples-for-vsphere.

DSI-BenThomas avatar DSI-BenThomas commented on May 29, 2024

I'll run a test on AlmaLinux in my testbed now. It's been working for quite some time now with the following unless something has changed recently in 8.5.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

Thanks @tenthirtyam, in my own testing updating the interpreter variable to /usr/libexec/platform-python resulted in the build completing successfully. Changing it back to the original /usr/bin/python3 results in build failures again.

ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg",
"ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
]

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 29, 2024

Resolved in main with #182.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

from packer-examples-for-vsphere.

github-actions avatar github-actions commented on May 29, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from packer-examples-for-vsphere.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.