geerlingguy/ansible-role-ruby

ansible_ssh_user is not defined when running via packer

jamescarr opened this issue · 1 comments

Saw this when I added this to a recent packer build.

    amazon-ebs: TASK [geerlingguy.ruby : Define ruby_install_gems_user.] ***********************
    amazon-ebs: task path: /opt/ansible/third-party-roles/geerlingguy.ruby/tasks/main.yml:17
    amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"failed": true, "msg": "'ansible_ssh_user' is undefined"}

Just checked and this is fixed in master and 2.4.0