Skip to content

Commit 439aa45

Browse files
Updates trusted keys, distributions supported and adds Github action
1 parent 0f72f21 commit 439aa45

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
---
3+
name: push-to-ansible-galaxy
4+
5+
on:
6+
push:
7+
tags:
8+
- "v*"
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v2
16+
- name: galaxy
17+
uses: robertdebock/[email protected]
18+
with:
19+
galaxy_api_key: ${{ secrets.galaxy_api_key }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Install PHP version 8.X from [deb.sury.org](https://deb.sury.org/).
66
Requirements
77
------------
88

9-
This role is tailored towards Debian Jessie / Wheezy / Stretch / Buster.
9+
This role is tailored towards Debian Bullseye / Bookworm.
1010

1111
The packages `python-apt` (or `python3-apt`) must be installed.
1212

meta/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ galaxy_info:
66
description: Install PHP version 8.X from deb.sury.org
77
company: Future500
88
license: LGPL-3.0
9-
min_ansible_version: 2.0
9+
min_ansible_version: "2.0"
1010
platforms:
1111
- name: Debian
1212
versions:
13-
- buster
1413
- bullseye
14+
- bookworm
1515
galaxy_tags:
1616
- web

tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
state: present
1212

1313
- name: Add the deb.sury.org trusted key
14-
apt_key:
15-
id: 95BD4743
14+
ansible.builtin.get_url:
15+
dest: /etc/apt/trusted.gpg.d/php.gpg
16+
mode: 0644
17+
force: yes
1618
url: https://packages.sury.org/php/apt.gpg
1719

1820
- name: Add the deb.sury.org repository

0 commit comments

Comments
 (0)