Detect antergos using lsb

This commit is contained in:
Jake Howard 2019-11-05 20:15:08 +00:00
parent d21ad453f9
commit 40e17a5c55
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 2 additions and 3 deletions

View file

@ -88,7 +88,7 @@ Include = /etc/pacman.d/mirrorlist
[multilib] [multilib]
Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist
{% if antergos %} {% if ansible_facts.lsb.id == "Antergos" %}
[antergos] [antergos]
SigLevel = PackageRequired SigLevel = PackageRequired
Include = /etc/pacman.d/antergos-mirrorlist Include = /etc/pacman.d/antergos-mirrorlist

View file

@ -50,7 +50,7 @@
patch: patch:
src: './files/xsession.patch' src: './files/xsession.patch'
dest: '/etc/lightdm/Xsession' dest: '/etc/lightdm/Xsession'
when: antergos when: ansible_facts.lsb.id == "Antergos"
- name: Set GTK theme - name: Set GTK theme
dconf: dconf:

View file

@ -1,3 +1,2 @@
user: jake user: jake
home: "/home/{{ user }}" home: "/home/{{ user }}"
antergos: true