debops / ansible-apt

Configure and manage APT Package Manager
GNU General Public License v3.0
10 stars 15 forks source link

`apt_default_sources: False` raises error #10

Closed htgoebel closed 9 years ago

htgoebel commented 9 years ago

This is a follow up to issue #9.

Did you check with apt_default_sources: False?

I should have been more precise: I used apt_default_sources: [] (empty list), which worked. Both False and None raise errors: Error was cannot concatenate 'str' and 'list' objects resp. Error was unsupported operand type(s) for +: 'bool' and 'list'

drybjed commented 9 years ago

I'm not sure if I will be able to correctly wrap this variable's default/false state, but [] is also correct "false" state, so I might just add a note about it in the comments.

drybjed commented 9 years ago

Note about disabling default sources lookup is already in the defaults/main.yml file in the comments, so I'm closing this issue.