ldh_middleware playbook error: Unable to install package
While using the box playbook command, i tried to run the playbook against one of the boxes (hostname=ldhmiddleware):
$ shipwright box playbook ldhmiddleware ldh_developer/ldh_middleware.yml
PLAY [LDH/Keel Playbook] *********************************************************************************
TASK [Gathering Facts] ***********************************************************************************
ok: [ldhmiddleware]
TASK [ldh_middleware : Install required packages] ********************************************************
ok: [ldhmiddleware]
TASK [ldh_middleware : Install ldh_middleware from .deb] *************************************************
fatal: [ldhmiddleware]: FAILED! => {"changed": false, "msg": "Unable to install package: E:Could not open file /tmp/ldh-middleware_0.0.2_amd64.deb - open (2: No such file or directory)"}
to retry, use: --limit @/home/nnieto/Code/Purism/liberty/ldh_developer/playbooks/ldh_middleware.retry
PLAY RECAP ***********************************************************************************************
ldhmiddleware : ok=2 changed=0 unreachable=0 failed=1
Removing vagrant's invalid entries ...
Done
Internally, the box's command cd
's into the box's $VAGRANT_HOME
, resolves directory and file paths and execs ansible-playbook
:
$ cd `shipwright box which ldhmiddleware`
nnieto@Ziltoid:~/.config/ldh_developer/box/ldhmiddleware$
nnieto@Ziltoid:~/.config/ldh_developer/box/ldhmiddleware$ ansible-playbook -u vagrant -i ./.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -e shipwright_box_config_home=. /home/nnieto/.config/ldh_developer/playbooks/ldh_developer/ldh_middleware.yml
PLAY [LDH/Keel Playbook] ********************************************************************************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************************************************************************
ok: [ldhmiddleware]
TASK [ldh_middleware : Install required packages] *******************************************************************************************************************************************************************
ok: [ldhmiddleware]
TASK [ldh_middleware : Install ldh_middleware from .deb] ************************************************************************************************************************************************************
fatal: [ldhmiddleware]: FAILED! => {"changed": false, "msg": "Unable to install package: E:Could not open file /tmp/ldh-middleware_0.0.2_amd64.deb - open (2: No such file or directory)"}
to retry, use: --limit @/home/nnieto/.config/ldh_developer/playbooks/ldh_developer/ldh_middleware.retry
PLAY RECAP **********************************************************************************************************************************************************************************************************
ldhmiddleware : ok=2 changed=0 unreachable=0 failed=1
So I'm posting this here for the record ...