Switch to an explicit install_graphics variable rather than using graphics_driver to control all graphics install.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
- import_tasks: tasks/common.yaml
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
- import_tasks: tasks/common.yaml
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
- import_tasks: tasks/common.yaml
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
state: present
|
||||
|
||||
- name: Install packages
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
package:
|
||||
name:
|
||||
- pinentry-qt5
|
||||
|
||||
@@ -4,8 +4,8 @@ use-standard-socket
|
||||
default-cache-ttl 600
|
||||
max-cache-ttl 7200
|
||||
display :0
|
||||
{% if graphics_driver is defined and os_flavor == "linux" %}
|
||||
{% if install_graphics is defined and install_graphics and os_flavor == "linux" %}
|
||||
pinentry-program /usr/bin/pinentry-qt
|
||||
{% elif graphics_driver is defined and os_flavor == "freebsd" %}
|
||||
{% elif install_graphics is defined and install_graphics and os_flavor == "freebsd" %}
|
||||
pinentry-program /usr/local/bin/pinentry-qt5
|
||||
{% endif %}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
- import_tasks: tasks/common.yaml
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
- import_tasks: tasks/common.yaml
|
||||
when: graphics_driver is defined
|
||||
when: install_graphics is defined and install_graphics
|
||||
|
||||
Reference in New Issue
Block a user