2017-12-16 22:45:14 +01:00
|
|
|
---
|
2020-05-15 18:03:40 +02:00
|
|
|
- hosts: all
|
|
|
|
gather_facts: yes
|
|
|
|
pre_tasks:
|
2020-01-01 00:10:25 +01:00
|
|
|
- name: Limit to Archlinux and NixOS
|
2017-12-23 22:18:11 +01:00
|
|
|
fail:
|
|
|
|
msg: "{{ ansible_distribution }} is not supported with this tag."
|
2020-01-01 00:10:25 +01:00
|
|
|
when: (ansible_distribution != "Archlinux") and
|
|
|
|
(ansible_distribution != "NixOS")
|
2017-12-23 22:18:11 +01:00
|
|
|
|
2020-05-13 23:36:22 +02:00
|
|
|
- hosts: cli:desktop
|
2017-12-29 03:14:04 +01:00
|
|
|
roles:
|
2020-05-15 18:03:40 +02:00
|
|
|
- role: fish
|
|
|
|
tags: fish
|
|
|
|
- role: neovim
|
|
|
|
tags: neovim
|
|
|
|
- role: screen
|
|
|
|
tags: screen
|
|
|
|
- role: git
|
|
|
|
tags: git,cli
|
|
|
|
- role: userbin
|
|
|
|
tags: userbin
|
2020-05-07 17:44:57 +02:00
|
|
|
|
2020-05-13 21:20:33 +02:00
|
|
|
- hosts: desktop
|
2017-12-19 00:52:21 +01:00
|
|
|
roles:
|
2020-01-03 01:53:52 +01:00
|
|
|
- role: ssh-agent
|
|
|
|
tags: ssh-agent
|
2020-05-15 18:03:40 +02:00
|
|
|
when: ansible_distribution == "Archlinux" and ansible_user_id != 'root'
|
|
|
|
- role: gtk
|
|
|
|
tags: gtk
|
|
|
|
when: ansible_user_id != 'root'
|
|
|
|
- role: sway
|
|
|
|
tags: sway
|
|
|
|
when: ansible_user_id != 'root'
|
|
|
|
- role: waybar
|
|
|
|
tags: waybar
|
|
|
|
when: ansible_user_id != 'root'
|
|
|
|
- role: wofi
|
|
|
|
tags: wofi
|
|
|
|
when: ansible_user_id != 'root'
|
|
|
|
- role: mako
|
|
|
|
tags: mako
|
|
|
|
when: ansible_user_id != 'root'
|
|
|
|
- role: kitty
|
|
|
|
tags: kitty
|
|
|
|
when: ansible_user_id != 'root'
|
2020-05-18 23:19:40 +02:00
|
|
|
- role: mpv
|
|
|
|
tags: mpv
|
|
|
|
when: ansible_user_id != 'root'
|
2020-05-20 11:01:36 +02:00
|
|
|
- role: imv
|
|
|
|
tags: imv
|
|
|
|
when: ansible_user_id != 'root'
|