Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic

This commit is contained in:
Alexander Grothe 2018-05-12 21:21:08 +02:00
commit 7b83faf750
4 changed files with 515 additions and 459 deletions

File diff suppressed because it is too large Load Diff

View File

@ -329,6 +329,7 @@ grub:
name: '{{ item }}' name: '{{ item }}'
state: present state: present
install_recommends: no install_recommends: no
cache_valid_time: 60
with_items: with_items:
'{{ packages }}' '{{ packages }}'
#+END_SRC #+END_SRC
@ -1712,6 +1713,21 @@ b'\xde\xad\xbe\xef'
*** default variables *** default variables
#+BEGIN_SRC yaml :tangle roles/yavdr-xorg/defaults/main.yml :mkdirp yes :padline no #+BEGIN_SRC yaml :tangle roles/yavdr-xorg/defaults/main.yml :mkdirp yes :padline no
first_run: False first_run: False
preferred_outputs:
- HDMI
- DP
- DVI
- VGA
- TV
preferred_resolutions:
- 7680x4320
- 3840x2160
- 1920x1080
- 1280x720
- 720x576
preferred_refreshrates:
- 50
- 60
#+END_SRC #+END_SRC
*** tasks *** tasks
@ -1931,7 +1947,10 @@ first_run: False
timeout: 3 timeout: 3
- name: "detect xorg configuration" - name: "detect xorg configuration"
action: xrandr_facts xrandr_facts:
preferred_refreshrates: '{{ preferred_refreshrates }}'
preferred_resolutions: '{{ preferred_resolutions }}'
preferred_outputs: '{{ preferred_outputs }}'
- debug: - debug:
var: xorg.primary var: xorg.primary

View File

@ -1 +1,16 @@
first_run: False first_run: False
preferred_outputs:
- HDMI
- DP
- DVI
- VGA
- TV
preferred_resolutions:
- 7680x4320
- 3840x2160
- 1920x1080
- 1280x720
- 720x576
preferred_refreshrates:
- 50
- 60

View File

@ -86,7 +86,10 @@
timeout: 3 timeout: 3
- name: "detect xorg configuration" - name: "detect xorg configuration"
action: xrandr_facts xrandr_facts:
preferred_refreshrates: '{{ preferred_refreshrates }}'
preferred_resolutions: '{{ preferred_resolutions }}'
preferred_outputs: '{{ preferred_outputs }}'
- debug: - debug:
var: xorg.primary var: xorg.primary