mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
commit
6fbf3f2efc
22 changed files with 90 additions and 75 deletions
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with archlinux:latest
|
- name: 'ansible check with archlinux:latest'
|
||||||
uses: roles-ansible/check-ansible-archlinux-latest-action@master
|
uses: roles-ansible/check-ansible-archlinux-latest-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-centos-centos7.yml
vendored
6
.github/workflows/ansible-centos-centos7.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:centos7
|
- name: 'ansible check with ubuntu:centos7'
|
||||||
uses: roles-ansible/check-ansible-centos-centos7-action@master
|
uses: roles-ansible/check-ansible-centos-centos7-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-centos-centos8.yml
vendored
6
.github/workflows/ansible-centos-centos8.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:centos8
|
- name: 'ansible check with ubuntu:centos8'
|
||||||
uses: roles-ansible/check-ansible-centos-centos8-action@master
|
uses: roles-ansible/check-ansible-centos-centos8-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
18
.github/workflows/ansible-centos-centos9.yml
vendored
Normal file
18
.github/workflows/ansible-centos-centos9.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
name: Ansible check centos:stream9
|
||||||
|
|
||||||
|
# yamllint disable-line rule:truthy
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: 'ansible check with quay.io/centos/centos:stream9'
|
||||||
|
uses: roles-ansible/check-ansible-centos-centos9-action@main
|
||||||
|
with:
|
||||||
|
targets: "./"
|
6
.github/workflows/ansible-centos-latest.yml
vendored
6
.github/workflows/ansible-centos-latest.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:latest
|
- name: 'ansible check with ubuntu:latest'
|
||||||
uses: roles-ansible/check-ansible-centos-latest-action@master
|
uses: roles-ansible/check-ansible-centos-latest-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:bullseye
|
- name: 'ansible check with debian:bullseye'
|
||||||
uses: roles-ansible/check-ansible-debian-bullseye-action@main
|
uses: roles-ansible/check-ansible-debian-bullseye-action@main
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-debian-buster.yml
vendored
6
.github/workflows/ansible-debian-buster.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:buster
|
- name: 'ansible check with debian:buster'
|
||||||
uses: roles-ansible/check-ansible-debian-buster-action@master
|
uses: roles-ansible/check-ansible-debian-buster-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-debian-latest.yml
vendored
6
.github/workflows/ansible-debian-latest.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:latest
|
- name: 'ansible check with debian:latest'
|
||||||
uses: roles-ansible/check-ansible-debian-latest-action@master
|
uses: roles-ansible/check-ansible-debian-latest-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-debian-sid.yml
vendored
6
.github/workflows/ansible-debian-sid.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:sid
|
- name: 'ansible check with debian:sid'
|
||||||
uses: roles-ansible/check-ansible-debian-sid-action@master
|
uses: roles-ansible/check-ansible-debian-sid-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
5
.github/workflows/ansible-debian-stable.yml
vendored
5
.github/workflows/ansible-debian-stable.yml
vendored
|
@ -14,9 +14,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:stable
|
- name: 'ansible check with debian:stable'
|
||||||
uses: roles-ansible/check-ansible-debian-stable-action@master
|
uses: roles-ansible/check-ansible-debian-stable-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-debian-stretch.yml
vendored
6
.github/workflows/ansible-debian-stretch.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with debian:stretch
|
- name: 'ansible check with debian:stretch'
|
||||||
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-fedora-31.yml
vendored
6
.github/workflows/ansible-fedora-31.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with fedora:31
|
- name: 'ansible check with fedora:31'
|
||||||
uses: roles-ansible/check-ansible-fedora-31-action@master
|
uses: roles-ansible/check-ansible-fedora-31-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-fedora-32.yml
vendored
6
.github/workflows/ansible-fedora-32.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with fedora:32
|
- name: 'ansible check with fedora:32'
|
||||||
uses: roles-ansible/check-ansible-fedora-32-action@master
|
uses: roles-ansible/check-ansible-fedora-32-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-fedora-33.yml
vendored
6
.github/workflows/ansible-fedora-33.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with fedora:33
|
- name: 'ansible check with fedora:33'
|
||||||
uses: roles-ansible/check-ansible-fedora-33-action@master
|
uses: roles-ansible/check-ansible-fedora-33-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
6
.github/workflows/ansible-fedora-latest.yml
vendored
6
.github/workflows/ansible-fedora-latest.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with fedora:latest
|
- name: 'ansible check with fedora:latest'
|
||||||
uses: roles-ansible/check-ansible-fedora-latest-action@master
|
uses: roles-ansible/check-ansible-fedora-latest-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
12
.github/workflows/ansible-linting-check.yml
vendored
12
.github/workflows/ansible-linting-check.yml
vendored
|
@ -10,17 +10,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Lint Ansible Playbook
|
- name: 'Lint Ansible Playbook'
|
||||||
uses: ansible/ansible-lint-action@master
|
uses: ansible/ansible-lint-action@v6
|
||||||
with:
|
with:
|
||||||
targets: "."
|
targets: "."
|
||||||
# [required]
|
|
||||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
|
||||||
args: ""
|
|
||||||
# [optional]
|
|
||||||
|
|
6
.github/workflows/ansible-ubuntu-bionic.yml
vendored
6
.github/workflows/ansible-ubuntu-bionic.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:bionic
|
- name: 'ansible check with ubuntu:bionic'
|
||||||
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
|
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
|
||||||
with:
|
with:
|
||||||
targets: "./"
|
targets: "./"
|
||||||
|
|
4
.github/workflows/ansible-ubuntu-latest.yml
vendored
4
.github/workflows/ansible-ubuntu-latest.yml
vendored
|
@ -6,11 +6,11 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:latest
|
- name: ansible check with ubuntu:latest
|
||||||
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
||||||
|
|
4
.github/workflows/ansible-ubuntu-trusty.yml
vendored
4
.github/workflows/ansible-ubuntu-trusty.yml
vendored
|
@ -6,11 +6,11 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ansible check with ubuntu:trusty
|
- name: ansible check with ubuntu:trusty
|
||||||
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
|
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
|
||||||
|
|
10
.github/workflows/galaxy.yml
vendored
10
.github/workflows/galaxy.yml
vendored
|
@ -12,9 +12,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: galaxy
|
|
||||||
uses: robertdebock/galaxy-action@1.1.0
|
- name: 'release on galaxy'
|
||||||
|
uses: robertdebock/galaxy-action@1.2.0
|
||||||
with:
|
with:
|
||||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||||
|
git_branch: 'main'
|
||||||
|
|
7
.github/workflows/yamllint.yaml
vendored
7
.github/workflows/yamllint.yaml
vendored
|
@ -13,10 +13,11 @@ jobs:
|
||||||
name: 'Yamllint'
|
name: 'Yamllint'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Yamllint'
|
- name: 'Yamllint'
|
||||||
uses: karancode/yamllint-github-action@master
|
uses: karancode/yamllint-github-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
yamllint_file_or_dir: '.'
|
yamllint_file_or_dir: '.'
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
|
|
21
README.md
21
README.md
|
@ -23,23 +23,20 @@ For a good overview about possible variables, please have a look into ``defaults
|
||||||
|
|
||||||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||||
|
|
||||||
```bash
|
```yaml
|
||||||
- hosts: all
|
- name: install i3wm on localhost
|
||||||
|
hosts: localhost
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/main.yml
|
- vars/main.yml
|
||||||
roles:
|
roles:
|
||||||
- { role: i3, tags[i3,i3wm] }
|
- {role: do1jlr.i3wm, tags[i3,i3wm]}
|
||||||
```
|
```
|
||||||
*`vars/main.yml`*
|
*`vars/main.yml`*
|
||||||
|
|
||||||
```bash
|
```yaml
|
||||||
# background image
|
# background image
|
||||||
i3_desktop_background: "~/Bilder/wallpaper.jpg"
|
i3_desktop_background: "~/Bilder/wallpaper.jpg"
|
||||||
|
|
||||||
# additional programms you need
|
|
||||||
i3_packages_extra:
|
|
||||||
- ranger
|
|
||||||
|
|
||||||
# you want additional keybindings?
|
# you want additional keybindings?
|
||||||
i3_keybindings_extra:
|
i3_keybindings_extra:
|
||||||
- keybinding:
|
- keybinding:
|
||||||
|
@ -55,18 +52,18 @@ Including an example of how to use your role (for instance, with variables passe
|
||||||
i3_monitors:
|
i3_monitors:
|
||||||
- monitor:
|
- monitor:
|
||||||
id: 1
|
id: 1
|
||||||
output: "VGA-1"
|
output: "HDMI-A-0"
|
||||||
mode: "1920x1080"
|
mode: "1920x1080"
|
||||||
pos: "0x0"
|
pos: "0x0"
|
||||||
rotate: "normal"
|
rotate: "normal"
|
||||||
workspaces: [1,2,3,4,5,6]
|
workspaces: [0,1,2,3,4,5,6]
|
||||||
- monitor:
|
- monitor:
|
||||||
id: 2
|
id: 2
|
||||||
output: "HDMI-1"
|
output: "DisplayPort-0"
|
||||||
mode: "1920x1080"
|
mode: "1920x1080"
|
||||||
pos: "1920x0"
|
pos: "1920x0"
|
||||||
rotate: "normal"
|
rotate: "normal"
|
||||||
workspaces: [7,8,9,0]
|
workspaces: [7,8,9]
|
||||||
|
|
||||||
# startup applications
|
# startup applications
|
||||||
i3_applications:
|
i3_applications:
|
||||||
|
|
Loading…
Reference in a new issue