21 lines
500 B
YAML
21 lines
500 B
YAML
---
|
|
- name: Install for arch
|
|
import_tasks: arch.yml
|
|
when: ansible_os_family == "Archlinux"
|
|
|
|
- name: Install for debian
|
|
import_tasks: debian.yml
|
|
when: ansible_os_family == "Debian"
|
|
|
|
- name: Clone dotfiles
|
|
ansible.builtin.git:
|
|
repo: 'https://git.opytex.org/lafrite/dotfiles.git'
|
|
dest: /home/{{ item.username }}/.dotfiles
|
|
with_items: "{{ dotusers }}"
|
|
|
|
- name: stow configs
|
|
ansible.builtin.command:
|
|
cmd: stow {{ item }}
|
|
chdir: ~/.dotfiles/
|
|
with_items: "{{ config2stow }}"
|