1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_goaccess.git synced 2024-08-16 18:09:23 +02:00

Change order: first gpg, then repo

This commit is contained in:
L3D 2020-12-11 03:05:28 +01:00
parent 31565e7f1c
commit 7563e38334
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 6 additions and 23 deletions

View file

@ -1,16 +0,0 @@
name: Ansible check ubuntu:trusty
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:trusty
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
with:
targets: "./"

View file

@ -20,4 +20,3 @@ If you want to find out more about our tests, please have a look at the github m
| | | | | |
| [![Ansible check ubuntu:latest](https://github.com/roles-ansible/ansible_role_goaccess/workflows/Ansible%20check%20ubuntu:latest/badge.svg)](https://github.com/roles-ansible/ansible_role_goaccess/actions?query=workflow%3A%22Ansible+check+ubuntu%3Alatest%22) | [ansible test with ubuntu latest](https://github.com/marketplace/actions/check-ansible-ubuntu-latest) | | [![Ansible check ubuntu:latest](https://github.com/roles-ansible/ansible_role_goaccess/workflows/Ansible%20check%20ubuntu:latest/badge.svg)](https://github.com/roles-ansible/ansible_role_goaccess/actions?query=workflow%3A%22Ansible+check+ubuntu%3Alatest%22) | [ansible test with ubuntu latest](https://github.com/marketplace/actions/check-ansible-ubuntu-latest) |
| [![Ansible check ubuntu:bionic](https://github.com/roles-ansible/ansible_role_goaccess/workflows/Ansible%20check%20ubuntu:bionic/badge.svg)](https://github.com/roles-ansible/ansible_role_goaccess/actions?query=workflow%3A%22Ansible+check+ubuntu%3Abionic%22) | [ansible test with ubuntu bionic](https://github.com/marketplace/actions/check-ansible-ubuntu-bionic) | | [![Ansible check ubuntu:bionic](https://github.com/roles-ansible/ansible_role_goaccess/workflows/Ansible%20check%20ubuntu:bionic/badge.svg)](https://github.com/roles-ansible/ansible_role_goaccess/actions?query=workflow%3A%22Ansible+check+ubuntu%3Abionic%22) | [ansible test with ubuntu bionic](https://github.com/marketplace/actions/check-ansible-ubuntu-bionic) |
| [![Ansible check ubuntu:trusty](https://github.com/roles-ansible/ansible_role_goaccess/workflows/Ansible%20check%20ubuntu:trusty/badge.svg)](https://github.com/roles-ansible/ansible_role_goaccess/actions?query=workflow%3A%22Ansible+check+ubuntu%3Atrusty%22) | [ansible test with ubuntu trusty](https://github.com/marketplace/actions/check-ansible-ubuntu-trusty) |

View file

@ -6,6 +6,12 @@
state: "{{ goaccess__state }}" state: "{{ goaccess__state }}"
update_cache: yes update_cache: yes
- name: add goaccess apt_key
become: true
apt_key:
url: https://deb.goaccess.io/gnugpg.key
state: present
- name: add goaccess apt_repository - name: add goaccess apt_repository
become: true become: true
apt_repository: apt_repository:
@ -13,12 +19,6 @@
state: present state: present
filename: goaccess filename: goaccess
- name: add goaccess apt_key
become: true
apt_key:
url: https://deb.goaccess.io/gnugpg.key
state: present
- name: install goaccess - name: install goaccess
become: true become: true
apt: apt: