Skip to content
New issue

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

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

Already on GitHub? # to your account

Add check if repository is already installed #6

Closed
e-alfred opened this issue Jun 27, 2016 · 3 comments
Closed

Add check if repository is already installed #6

e-alfred opened this issue Jun 27, 2016 · 3 comments

Comments

@e-alfred
Copy link

Hello,

if I run the playbook again on a host, the repository is added again everytime, resulting in duplicate entry warnings (Debian). Maybe there should be some check for that?

Thank you

@aarnaud
Copy link
Contributor

aarnaud commented Feb 2, 2017

ansible already did do that when the task use apt_repository. I haven't this behavior

@dj-wasabi
Copy link
Owner

With #11 this should be validated. Until then I keep this issue open.

@dj-wasabi
Copy link
Owner

I close this issue, as Molecule is used for testing this role now. One of the actions in this test is the idempotence check. It hasn't failed so the task is idempotent.

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

No branches or pull requests

3 participants