Re: [packer] Packer Ansible provisioner, how to specify the host of the container/machine?

2019-09-18 Thread Rickard von Essen
It seems like you only need to add extra_arguments: [ "--extra-vars", "kubernetes_role=master"] On Wed, Sep 18, 2019, 18:15 Kevin Galkov wrote: > How would I indicate to the machine what kubernetes installation it needs > to use? For clarity, I'm using these roles: > https://github.com/geerling

Re: [packer] Packer Ansible provisioner, how to specify the host of the container/machine?

2019-09-18 Thread Kevin Galkov
How would I indicate to the machine what kubernetes installation it needs to use? For clarity, I'm using these roles: https://github.com/geerlingguy/ansible-role-kubernetes#two-or-more-nodes-single-master-cluster On Wednesday, September 18, 2019 at 12:17:30 AM UTC-7, Rickard von Essen wrote: >

Re: [packer] Packer Ansible provisioner, how to specify the host of the container/machine?

2019-09-18 Thread Rickard von Essen
Try to remove the inventory_file option On Wed, Sep 18, 2019, 07:20 Kevin Galkov wrote: > Hi #packer! > > I am trying to learn more about Packer and Ansible. I think those too > along with Terraform, Bazel and jsonnet will be great to use! > > With packer I am able to pass in a playbook.yml and

[packer] Packer Ansible provisioner, how to specify the host of the container/machine?

2019-09-17 Thread Kevin Galkov
Hi #packer! I am trying to learn more about Packer and Ansible. I think those too along with Terraform, Bazel and jsonnet will be great to use! With packer I am able to pass in a playbook.yml and an inventory file to Ansible. However, I would like to be able to specify to ansible what host it