Skip to content

Commit

Permalink
Merge pull request #10 from Oefenweb/add-support-for-percona-57
Browse files Browse the repository at this point in the history
Add support for Percona 5.7
  • Loading branch information
tersmitten authored Apr 19, 2018
2 parents 54a6dff + cd6f789 commit ac0092a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ python: "2.7"

env:
- ANSIBLE_VERSION=latest
- ANSIBLE_VERSION=2.5.1
- ANSIBLE_VERSION=2.5.0
- ANSIBLE_VERSION=2.4.4.0
- ANSIBLE_VERSION=2.4.3.0
Expand Down
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ boxes = [
:cpu => "50",
:ram => "256"
},
{
:name => "debian-9",
:box => "bento/debian-9",
:ip => '10.0.0.16',
:cpu => "50",
:ram => "256"
},
]

Vagrant.configure("2") do |config|
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ galaxy_info:
versions:
- wheezy
- jessie
- stretch
galaxy_tags:
- system
- database
Expand Down
13 changes: 13 additions & 0 deletions tasks/repository.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# tasks file for percona-client
---
- name: repository | install | dependencies
apt:
name: "{{ item }}"
state: "{{ apt_install_state | default('latest') }}"
update_cache: true
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
with_items:
- dirmngr
when: ansible_distribution == 'Debian' and ansible_distribution_version | version_compare('9.0', '>=')
tags:
- percona-client-repository-install
- percona-client-repository-install-dependencies

- name: repository | add public key
apt_key:
id: 9334A25F8507EFA5
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
percona_client_versions_supported:
- '5.5'
- '5.6'
- '5.7'

percona_client_repositories:
- type: deb
Expand Down

0 comments on commit ac0092a

Please sign in to comment.