Open
Description
TASK: [Debian | Install deb package] ******************************************
Friday 14 November 2014 09:32:23 +0000 (0:00:35.715) 0:00:36.413 *******
<localhost> REMOTE_MODULE apt deb="/tmp/latest.deb"
failed: [localhost] => (item=/tmp/latest.deb) => {"failed": true, "item": "/tmp/latest.deb", "parsed": false}
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 2167, in <module>
main()
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 563, in main
force=force_yes, dpkg_options=p['dpkg_options'])
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 330, in install_deb
pkg = apt.debfile.DebPackage(deb_file)
AttributeError: 'module' object has no attribute 'debfile'
msg:
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 2167, in <module>
main()
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 563, in main
force=force_yes, dpkg_options=p['dpkg_options'])
File "/root/.ansible/tmp/ansible-tmp-1415957543.52-135143228457019/apt", line 330, in install_deb
pkg = apt.debfile.DebPackage(deb_file)
AttributeError: 'module' object has no attribute 'debfile'
FATAL: all hosts have already failed -- aborting
---
- name: Debian | Install deb package
apt: deb="{{ chef_client_package['installer_dest'] }}"
register: register_deb
tags: [chef-client, installer, deb]
when: chef_client_package['installer_dest'] is defined
Metadata
Metadata
Assignees
Labels
No labels