Skip to content

Commit

Permalink
Drop 4.0, hello 4.2! (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlexis authored and atosatto committed Sep 16, 2019
1 parent 7ebbf8f commit 8b31e2e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ By default, the PowerDNS Authoritative Server is installed from the software rep
- { role: PowerDNS.pdns,
pdns_install_repo: "{{ pdns_auth_powerdns_repo_master }}"

# Install the PowerDNS Authoritative Server from the '4.0.x' official repository
# Install the PowerDNS Authoritative Server from the '4.1.x' official repository
- hosts: all
roles:
- { role: PowerDNS.pdns,
pdns_install_repo: "{{ pdns_auth_powerdns_repo_40 }}"
pdns_install_repo: "{{ pdns_auth_powerdns_repo_41 }}"

# Install the PowerDNS Authoritative Server from the '4.1.x' official repository
# Install the PowerDNS Authoritative Server from the '4.2.x' official repository
- hosts: all
roles:
- { role: PowerDNS.pdns,
pdns_install_repo: "{{ pdns_auth_powerdns_repo_41 }}"
pdns_install_repo: "{{ pdns_auth_powerdns_repo_42 }}"
```
The examples above, show how to install the PowerDNS Authoritative Server from the official PowerDNS repositories
Expand Down
10 changes: 5 additions & 5 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ pdns_install_repo: ""
# - { role: PowerDNS.pdns,
# pdns_install_repo: "{{ pdns_auth_powerdns_repo_master }}"
#
# To install the PowerDNS Authoritative Server from the '4.0.x' official repository
# To install the PowerDNS Authoritative Server from the '4.1.x' official repository
# use the following playbook snippet
# - hosts: all
# roles:
# - { role: PowerDNS.pdns,
# pdns_install_repo: "{{ pdns_auth_powerdns_repo_40 }}"
#
# To install the PowerDNS Authoritative Server from the '4.1.x' official repository
# pdns_install_repo: "{{ pdns_auth_powerdns_repo_41 }}"

# To install the PowerDNS Authoritative Server from the '4.2.x' official repository
# use the following playbook snippet
# - hosts: all
# roles:
# - { role: PowerDNS.pdns,
# pdns_install_repo: "{{ pdns_auth_powerdns_repo_41 }}"
# pdns_install_repo: "{{ pdns_auth_powerdns_repo_42 }}"
#
# To make this role configure a custom repository and install the
# PowerDNS Authoritative Server from it override the `pdns_install_repo` variable
Expand Down
9 changes: 9 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ pdns_auth_powerdns_repo_41:
yum_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/auth-41"
yum_debug_symbols_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/auth-41/debug"
name: "powerdns-auth-41"

pdns_auth_powerdns_repo_42:
apt_repo_origin: "repo.powerdns.com"
apt_repo: "deb [arch=amd64] http://repo.powerdns.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }}-auth-42 main"
gpg_key: "http://repo.powerdns.com/FD380FBB-pub.asc"
gpg_key_id: "9FAAA5577E8FCF62093D036C1B0C6205FD380FBB"
yum_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/auth-42"
yum_debug_symbols_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/auth-42/debug"
name: "powerdns-auth-42"

0 comments on commit 8b31e2e

Please sign in to comment.