Geoffrey Frogeye
fda5b38ddb
Is this commit without too many change so that Git catches on the rename? Yes, yes it is.
13 lines
618 B
YAML
13 lines
618 B
YAML
- name: Set facts
|
|
set_fact:
|
|
arch_based: "{{ ansible_distribution == 'Archlinux' }}"
|
|
arch: "{{ ansible_lsb.id == 'Arch' }}"
|
|
manjaro: "{{ ansible_lsb.id == 'Manjaro' or ansible_lsb.id == 'Manjaro-ARM' }}"
|
|
termux: "{{ ansible_distribution == 'OtherLinux' and ansible_python.executable == '/data/data/com.termux/files/usr/bin/python' }}"
|
|
debian_based: "{{ ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' }}"
|
|
debian: "{{ ansible_distribution == 'Debian' }}"
|
|
ubuntu: "{{ ansible_distribution == 'Ubuntu' }}"
|
|
tags:
|
|
- always
|
|
# TODO Make this a real Ansible fact maybe?
|