1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_xrandr_help.git synced 2024-08-16 10:09:52 +02:00

Merge pull request #2 from roles-ansible/actions

add some Actions
This commit is contained in:
L3D 2021-03-16 23:52:29 +01:00 committed by GitHub
commit 5de081876e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 217 additions and 15 deletions

View file

@ -0,0 +1,18 @@
---
name: Ansible check centos:centos7
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:centos7
uses: roles-ansible/check-ansible-centos-centos7-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check centos:centos8
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:centos8
uses: roles-ansible/check-ansible-centos-centos8-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check centos:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:latest
uses: roles-ansible/check-ansible-centos-latest-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check debian:buster
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with debian:buster
uses: roles-ansible/check-ansible-debian-buster-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check debian:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with debian:latest
uses: roles-ansible/check-ansible-debian-latest-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check debian:sid
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with debian:sid
uses: roles-ansible/check-ansible-debian-sid-action@master
with:
targets: "./"

View file

@ -0,0 +1,24 @@
---
name: Ansible check debian:stable
# yamllint disable-line rule:truthy
on:
push:
branches: '*'
pull_request:
branches: '*'
schedule:
- cron: '23 6 * */1 *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with debian:stable
uses: roles-ansible/check-ansible-debian-stable-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check debian:stretch
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with debian:stretch
uses: roles-ansible/check-ansible-debian-stretch-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check ubuntu:bionic
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:bionic
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check ubuntu:latest
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ansible check with ubuntu:latest
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
with:
targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check ubuntu:trusty
# yamllint disable-line rule:truthy
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

@ -3,8 +3,6 @@
ansible_role_xrandr_help ansible_role_xrandr_help
========================== ==========================
<a href="https://galaxy.ansible.com/do1jlr/xrandr_help"><img width="80px" src="https://galaxy.ansible.com/assets/galaxy-logo-02.svg"/></a>
### Get it directly from Ansible Galaxy ### Get it directly from Ansible Galaxy
```bash ```bash
$ ansible-galaxy install do1jlr.xrandr_help $ ansible-galaxy install do1jlr.xrandr_help
@ -17,19 +15,19 @@ Ansible role to install xrandr to controll your monitor setup.
This is realy helpful, if you are using a display manager (eg. i3wm) that comes without a dedicated display control center (like gnome). This is realy helpful, if you are using a display manager (eg. i3wm) that comes without a dedicated display control center (like gnome).
Default variables: Variables:
----------------- -----------------
```ini
# do you want a graphical display contol panel like arandr
install_graphical_application: true
# do you want autorandr have installed? | Variable Name | Default Value | Function |
install_autorandr_application: true | ------------- | ------------- | -------- |
| ``install_graphical_application:`` | ``true`` | Install graphical xrandar applications like arandr |
| ``install_autorandr_application:`` | ``true`` | Install autorandr |
| ``submodules_versioncheck:`` | ``false`` | Perform simple versionscheck *(``true`` is recomended)* |
# version management to prevent old playbooks Testing
submodules_versioncheck: true ---------
``` This ansible role is tested with some simple linting tests and some other github actions:
Attention: | Status | Marketplace |
------------- | ------ | ----------- |
This playbook is only tested on archlinux. Package names on other OSes may be different. |

View file

@ -15,7 +15,7 @@ galaxy_info:
- name: Ubuntu - name: Ubuntu
versions: versions:
- all - all
- name: Fedora - name: EL
versions: versions:
- all - all
galaxy_tags: galaxy_tags: