dotfiles/manjaro/arch_custom/playbooks (1)/local_setup.yml

51 lines
1.4 KiB
YAML

---
# playbook.yml - Ansible playbook for Arch Linux development environment setup
- name: Arch Linux Development Environment Setup
hosts: localhost
gather_facts: true
connection: local
become: true
vars:
USE_STARSHIP: true
USE_P10K: false
USE_ALACRITTY: false
INSTALL_CUSTOM_APPS: false
INSTALL_CLAUDE_CODE: true # Install Claude Code CLI
username: "{{ lookup('env', 'USER') }}"
user_home: "/home/{{ username }}"
git_server_port: 3000
install_tiling_wm: true # Set to false if you don't want a tiling WM
tiling_wm: "i3-gaps" # Options: i3-gaps, sway, awesome, qtile, bspwm
home: "{{ user_home }}"
user: "{{ username }}"
# DISPLAY: "{{ ansible_env.DISPLAY | default('') }}"
# XDG_CONFIG_HOME: "{{ ansible_env.XDG_CONFIG_HOME | default(user_home + '/.config') }}"
# XDG_DATA_HOME: "{{ ansible_env.XDG_DATA_HOME | default(user_home + '/.local/share') }}"
# PATH: "{{ ansible_env.PATH }}"
roles:
- role: custom
tags:
- custom
- base_setup
- role: manage_zsh
tags:
- manage_zsh
- base_setup
- role: starship
when: USE_STARSHIP
tags:
- starship
- base_setup
- role: geerlingguy.docker
become: true
tags:
- docker
- base_setup
- role: claude_code
when: INSTALL_CLAUDE_CODE
tags:
- claude_code
- dev_tools
- base_setup