Write xorg variable to a file

This commit is contained in:
Alexander Grothe 2018-01-16 12:08:18 +01:00
parent c53470f2fe
commit 3e24e74cff
3 changed files with 578 additions and 450 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1894,6 +1894,15 @@ first_run: False
var: xorg.secondary var: xorg.secondary
when: xorg.secondary is defined when: xorg.secondary is defined
- name: write xorg variable to /etc/yavdr/xorg.yml
block:
- file:
state: directory
path: /etc/yavdr
- copy:
content: '{{ xorg | to_nice_yaml }}'
dest: /etc/yavdr/xorg.yml
- name: "stop x-verbose@vt7.service" - name: "stop x-verbose@vt7.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"

View File

@ -88,6 +88,15 @@
var: xorg.secondary var: xorg.secondary
when: xorg.secondary is defined when: xorg.secondary is defined
- name: write xorg variable to /etc/yavdr/xorg.yml
block:
- file:
state: directory
path: /etc/yavdr
- copy:
content: '{{ xorg | to_nice_yaml }}'
dest: /etc/yavdr/xorg.yml
- name: "stop x-verbose@vt7.service" - name: "stop x-verbose@vt7.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"