Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-duplication is not working #99

Open
thiagotalma opened this issue Mar 26, 2018 · 1 comment
Open

De-duplication is not working #99

thiagotalma opened this issue Mar 26, 2018 · 1 comment

Comments

@thiagotalma
Copy link

The problem, apparently, is with the bar at the end of the url.

Here's how the final file is:

# Original APT package sources gathered by Ansible
deb http://archive.ubuntu.com/ubuntu/ xenial main universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main universe
deb http://archive.ubuntu.com/ubuntu/ xenial-backports main universe

# Official Ubuntu repositories
deb http://archive.ubuntu.com/ubuntu xenial main universe
deb http://archive.ubuntu.com/ubuntu xenial-updates main universe
deb http://archive.ubuntu.com/ubuntu xenial-backports main universe

# Ubuntu Security repository
deb http://security.ubuntu.com/ubuntu xenial-security main universe
@drybjed
Copy link
Member

drybjed commented Mar 26, 2018

Yes, the role currently compares the URLs directly, without stripping a slash at the end. This could be implemented and probably will be fixed in the DebOps monorepo at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants