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

Major refactoring of the install procedure #3

Merged
merged 3 commits into from Nov 14, 2016
Merged

Major refactoring of the install procedure #3

merged 3 commits into from Nov 14, 2016

Conversation

atosatto
Copy link
Contributor

Major refactoring of the tasks adding the PowerDNS official repositories.


dnsdist_install_repo: False

By default the PowerDNS Recursor is installed from the os default repositories.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/PowerDNS Recursor/dnsdist/

dnsdist_install_repo: False

By default the PowerDNS Recursor is installed from the os default repositories.
You can install the PowerDNS Recursor package from official PowerDNS repository
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/PowerDNS Recursor/dnsdist/

- hosts: pdns-dnsdists
roles:
- { role: PowerDNS.dnsdist,
dnsdist_install_repo: "{{ dnsdist_official_dnsdist_master }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'official' sounds very...... uhm.. official.. I don't have a better suggestion though

Copy link
Contributor Author

@atosatto atosatto Nov 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched to dnsdist_powerdns_repo_master.

template:
src: dnsdist.conf.j2
dest: /etc/dnsdist/dnsdist.conf
validate: 'dnsdist -C %s --check-config 2>&1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with this line here, the validation in the handler can go

Copy link
Contributor Author

@atosatto atosatto Nov 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 806f75a

- repository

- include: install-epel.yml
when: ansible_os_family == 'RedHat'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should have a dnsdist_install_epel variable to support people that have private EPEL-like repos?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good hint! ;-)

@pieterlexis
Copy link
Contributor

Please squash your changes before merging 👍

@atosatto atosatto merged commit 96e4c80 into master Nov 14, 2016
@atosatto atosatto deleted the refactor branch November 14, 2016 13:20
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.

None yet

2 participants