mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
35 lines
924 B
YAML
35 lines
924 B
YAML
---
|
|
- hosts: desktop
|
|
tags: limit
|
|
tasks:
|
|
- name: Limit to Archlinux and NixOS
|
|
fail:
|
|
msg: "{{ ansible_distribution }} is not supported with this tag."
|
|
when: (ansible_distribution != "Archlinux") and
|
|
(ansible_distribution != "NixOS")
|
|
|
|
- name: Limit to user accounts
|
|
fail:
|
|
msg: "Don't run as root."
|
|
when: ansible_user_id == "root"
|
|
|
|
- hosts: cli:desktop
|
|
roles:
|
|
- { role: fish, tags: fish }
|
|
- { role: neovim, tags: neovim }
|
|
- { role: screen, tags: screen }
|
|
- { role: git, tags: git }
|
|
- { role: userbin, tags: userbin }
|
|
|
|
- hosts: desktop
|
|
roles:
|
|
- role: ssh-agent
|
|
tags: ssh-agent
|
|
when: ansible_distribution == "Archlinux"
|
|
- { role: gtk, tags: gtk }
|
|
- { role: sway, tags: sway }
|
|
- { role: waybar, tags: waybar }
|
|
- { role: wofi, tags: wofi }
|
|
- { role: mako, tags: mako }
|
|
- { role: kitty, tags: kitty }
|