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

adding yum repo flag for Redhat #81

Merged
merged 1 commit into from
Jan 25, 2017
Merged

Conversation

morgajel
Copy link

In environments where RHEL uses Satellite or production servers can't
reach out to the internet, and the Yum repo is not wanted. This commit
adds a flag to disable the functionality. It also removes the
enablerepo: nginx line from the package since a) it's redundant and b)
working around it overly complicates the situation.

In environments where RHEL uses Satellite or production servers can't
reach out to the internet, and the Yum repo is not wanted. This commit
adds a flag to disable the functionality. It also removes the
enablerepo: nginx line from the package since a) it's redundant and b)
working around it overly complicates  the situation.
@geerlingguy
Copy link
Owner

Looks good to me. Will need to test a little further before merging and adding to a tagged release (I want to verify that the enablerepo change doesn't break existing builds when upgrading).

@morgajel
Copy link
Author

Let me know what I can do to help- the template for the nginx repo has enablerepo=1 right in it, so hopefully it shouldn't cause any complications.

@geerlingguy
Copy link
Owner

You're quite correct! https://github.com/geerlingguy/ansible-role-nginx/blob/master/templates/nginx.repo.j2#L5

I guess I should look there before questioning your statement :)

@geerlingguy geerlingguy merged commit 3fc0071 into geerlingguy:master Jan 25, 2017
geerlingguy added a commit that referenced this pull request Jan 25, 2017
@geerlingguy
Copy link
Owner

This is in 1.9.7, as it's not a breaking change.

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

Successfully merging this pull request may close these issues.

2 participants