Skip to content

Commit

Permalink
Merge pull request #5 from kevincoakley/12.1.0
Browse files Browse the repository at this point in the history
12.1.0
  • Loading branch information
kevincoakley authored May 15, 2020
2 parents 7a4e889 + a52afbe commit 5b7c19a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/molecule-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
molecule_distro: ['centos7', 'centos8', 'ubuntu1804']
molecule_distro: ['centos7', 'centos8', 'ubuntu1804', 'ubuntu2004']
molecule_playbook: ['playbook-10.yml', 'playbook-11.yml', 'playbook-12.yml']
env:
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install molecule docker
pip install ansible-lint flake8 molecule docker
- name: Test with molecule
run: |
molecule test --all
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ansible-role-postgres

![](https://github.com/kevincoakley/ansible-role-postgres/workflows/Molecule%20Test/badge.svg)

Install Postgres 10, 11 or 12. Tested with Postgres 10, 11 and 12 on CentOS 7, CentOS 8 and Ubuntu 18.04.
Install Postgres 10, 11 or 12. Tested with Postgres 10, 11 and 12 on CentOS 7, CentOS 8, Ubuntu 18.04, Ubuntu 20.04.

Requirements
------------
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ galaxy_info:
- name: Ubuntu
versions:
- bionic
- focal

galaxy_tags:
- database
Expand Down
9 changes: 5 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
options:
config-file: molecule/default/yaml-lint.yml
lint: |
set -e
yamllint -c molecule/yaml-lint.yml .
ansible-lint
flake8
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
Expand Down
File renamed without changes.
7 changes: 6 additions & 1 deletion tasks/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
---
- name: Update the apt cache
apt:
update_cache: true
cache_valid_time: 3600

- name: Install packages required for adding the apt repository
package:
name: "{{ item }}"
state: present
with_items:
- gpg
- gpg-agent

- name: Add an apt signing key, uses whichever key is at the URL
apt_key:
Expand Down

0 comments on commit 5b7c19a

Please sign in to comment.