1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00

Merge pull request #7 from roles-ansible/bzip2

Add bzip2
This commit is contained in:
L3D 2021-01-18 10:56:51 +01:00 committed by GitHub
commit fe3bbb29ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 179 additions and 187 deletions

4
.github/FUNDING.yml vendored
View file

@ -1,4 +1,6 @@
# These are supported funding model platforms
---
# Feel free to add yourself if you maintain this repo
# or participate in a way that you have the feeling that you belong there ;-)
github: [do1jlr]
liberapay: L3D

View file

@ -1,5 +1,7 @@
---
name: Ansible check archlinux:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

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

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:centos7
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:centos8
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check debian:buster
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check debian:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check debian:sid
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check debian:stable
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check debian:stretch
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check fedora:31
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check fedora:32
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check fedora:33
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check fedora:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check ubuntu:bionic
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

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

View file

@ -1,5 +1,7 @@
---
name: Ansible check ubuntu:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check ubuntu:trusty
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:

View file

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

22
.github/workflows/yamllint.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: 'Yamllint GitHub Actions'
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'
yamllint_strict: false
yamllint_comment: true
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }

View file

@ -1,27 +0,0 @@
---
# OS Details
os: linux
language: python
python: '3.8'
cache:
pip: true
# Install ansible and ansible-lint
install:
- pip install ansible
- pip install ansible-lint
# more advanced testing is currently handled with
# github actions. The gh-actions for our test are there:
# https://github.com/roles-ansible and are tagged
# with 'github-actions' --> https://github.com/search?q=topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories
script:
- ansible-lint .
- echo -e "\n\n\n\n\nWe use github actions for more detailed tests.\n\nMore details about that in our github repo at:\nhttps://github.com/roles-ansible/ansible_role_base/actions\n\n\n\n\n\n"
notifications:
email:
on_success: never
on_failure: always
webhooks: https://galaxy.ansible.com/api/v1/notifications/

8
.yamllint Normal file
View file

@ -0,0 +1,8 @@
---
extends: default
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 150
level: warning

View file

@ -9,7 +9,7 @@
- ansible_distribution != 'CentOS'
- ansible_distribution != 'RedHat'
- ansible_distribution != 'Archlinux'
ignore_errors: yes
ignore_errors: true
- name: vim is our editor
become: true
@ -21,4 +21,4 @@
- ansible_distribution == 'CentOS'
- ansible_distribution == 'RedHat'
- ansible_distribution == 'Archlinux'
ignore_errors: yes
ignore_errors: true

View file

@ -1,6 +1,6 @@
---
- name: install keychain to support ssh agent
become: yes
become: true
package:
name: keychain
state: "{{ base__package_state }}"
@ -8,7 +8,7 @@
- ansible_os_family != 'RedHat'
- name: install keychain on centos
become: yes
become: true
yum:
name:
- "{{ _base__keychain_rpm }}"

View file

@ -1,5 +1,5 @@
---
- name: Print OS Infos
- name: Print OS Infos
debug:
msg: |
ansible_os_family = '{{ ansible_os_family }}'

View file

@ -2,7 +2,7 @@
- name: update repo-cache for debian/ubuntu
become: true
apt:
update_cache: yes
update_cache: true
cache_valid_time: 3600
when:
ansible_os_family == 'Debian'
@ -10,7 +10,7 @@
- name: update repo-cache for debian/ubuntu
become: true
dnf:
update_cache: yes
update_cache: true
when:
- ansible_os_family == 'RedHat' and ansible_distribution_version | float >= 8

View file

@ -2,7 +2,7 @@
- name: update repo-cache for Debian/Ubuntu
become: true
apt:
update_cache: yes
update_cache: true
cache_valid_time: 3600
when:
ansible_os_family == 'Debian'

View file

@ -13,7 +13,7 @@
src: "/etc/.ansible-version/{{ playbook_version_path }}"
register: playbook_version
when: submodules_versioncheck|bool
ignore_errors: yes
ignore_errors: true
failed_when: false
- name: Print remote role version

View file

@ -58,6 +58,7 @@ base__linux_packages:
- atop
- asciinema
- youtube-dl
- bzip2
playbook_version_number: 9005 # should be over ninethousand
playbook_version_path: 'base-packages_roles-ansible_github.version'