mirror of
https://github.com/roles-ansible/ansible_role_xrandr_help.git
synced 2024-08-16 10:09:52 +02:00
commit
5de081876e
13 changed files with 217 additions and 15 deletions
18
.github/workflows/ansible-centos-centos7.yml
vendored
Normal file
18
.github/workflows/ansible-centos-centos7.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-centos-centos8.yml
vendored
Normal file
18
.github/workflows/ansible-centos-centos8.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-centos-latest.yml
vendored
Normal file
18
.github/workflows/ansible-centos-latest.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-debian-buster.yml
vendored
Normal file
18
.github/workflows/ansible-debian-buster.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-debian-latest.yml
vendored
Normal file
18
.github/workflows/ansible-debian-latest.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-debian-sid.yml
vendored
Normal file
18
.github/workflows/ansible-debian-sid.yml
vendored
Normal 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: "./"
|
24
.github/workflows/ansible-debian-stable.yml
vendored
Normal file
24
.github/workflows/ansible-debian-stable.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-debian-stretch.yml
vendored
Normal file
18
.github/workflows/ansible-debian-stretch.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-ubuntu-bionic.yml
vendored
Normal file
18
.github/workflows/ansible-ubuntu-bionic.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-ubuntu-latest.yml
vendored
Normal file
18
.github/workflows/ansible-ubuntu-latest.yml
vendored
Normal 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: "./"
|
18
.github/workflows/ansible-ubuntu-trusty.yml
vendored
Normal file
18
.github/workflows/ansible-ubuntu-trusty.yml
vendored
Normal 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: "./"
|
26
README.md
26
README.md
|
@ -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.
|
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue