1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00
eoli3n-dotfiles/install.yml

35 lines
924 B
YAML
Raw Normal View History

2017-12-16 22:45:14 +01:00
---
2020-05-13 21:20:33 +02:00
- hosts: desktop
tags: limit
2017-12-29 03:14:04 +01:00
tasks:
- name: Limit to Archlinux and NixOS
2017-12-23 22:18:11 +01:00
fail:
msg: "{{ ansible_distribution }} is not supported with this tag."
when: (ansible_distribution != "Archlinux") and
(ansible_distribution != "NixOS")
2017-12-29 03:06:47 +01:00
- name: Limit to user accounts
2017-12-29 03:06:47 +01:00
fail:
msg: "Don't run as root."
2017-12-29 03:08:32 +01:00
when: ansible_user_id == "root"
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:
2019-12-01 16:29:03 +01:00
- { role: fish, tags: fish }
2020-05-07 17:44:57 +02:00
- { role: neovim, tags: neovim }
- { role: screen, tags: screen }
- { role: git, tags: git }
- { role: userbin, tags: userbin }
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
when: ansible_distribution == "Archlinux"
2017-12-19 01:43:14 +01:00
- { role: gtk, tags: gtk }
- { role: sway, tags: sway }
2020-01-02 11:05:10 +01:00
- { role: waybar, tags: waybar }
2020-05-08 01:28:10 +02:00
- { role: wofi, tags: wofi }
2020-05-14 16:20:03 +02:00
- { role: mako, tags: mako }
2020-05-09 19:45:20 +02:00
- { role: kitty, tags: kitty }