Re: [ansible-devel] Re: Package Installation Without Dependencies

2018-09-05 Thread andrew . tauferner
Right but those are zypper command arguments. The zypper command itself (not the zypper module) has no way of ignoring package dependencies. At least no way that I know of. The zypper module could have used /usr/bin/zypper to download the specified RPMs and then used the rpm command to

Re: [ansible-devel] Re: Package Installation Without Dependencies

2018-09-05 Thread Andrew Gaffney
The 'zypper' module has 'extra_args' and 'extra_args_precommand' params (since 2.4 and 2.6, respectively), which allow you to pass whatever arbitrary arguments that you want to zypper when installing a package. https://docs.ansible.com/ansible/latest/modules/zypper_module.html#parameters Andrew

[ansible-devel] Re: Package Installation Without Dependencies

2018-09-05 Thread andrew . tauferner
If the answer is 'No. zypper and other package management modules do not give the caller complete control over package installation' then I'd ask why. Would the community be opposed to extending something like the zypper module to include a *disable_dependencies* argument? On Wednesday,