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

install some packages

This commit is contained in:
Lilian Roller 2019-04-26 10:55:13 +02:00
parent b66b366a39
commit 00d0e88f4e
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 33 additions and 3 deletions

View file

@ -1,2 +1,20 @@
# role-xrandr xrandr - Ansible role
Ansible role to install xrandr/arandr (need eg. for i3wm) ==========================
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).
Default variables:
-----------------
```ini
# do you want a graphical display contol panel like arandr
install_graphical_application: true
# do you want autorandr have installed?
install_autorandr_application: true
```
Attention:
-------------
This playbook is only tested on archlinux. Package names on other OSes may be different.

View file

@ -1,2 +1,3 @@
--- ---
install_graphical_application: true install_graphical_application: true
install_autorandr_application: true

View file

@ -3,10 +3,21 @@
include_vars: "{{ ansible_os_family }}.yml" include_vars: "{{ ansible_os_family }}.yml"
- name: Install xrandr - name: Install xrandr
become: true
package:
name: "{{ xrandr_package }}"
state: present
- name: Install arandr gui - name: Install arandr gui
become: true become: true
package: package:
name: name: "{{ graphical_xrandr_packages }}"
state: present state: present
when: install_graphical_application when: install_graphical_application
- name: Install autorandr
become: true
package:
name: "{{ autorandr }}"
state: present
when: install_autorandr_application