Add apps role and update Neovim installation
- Add apps role to main playbook for application management - Create comprehensive CLAUDE.md documentation - Update Neovim installation on Debian/Ubuntu to use official PPA - Add cross-platform package manager setup (Homebrew, AppMan) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
		
							
								
								
									
										31
									
								
								roles/apps/tasks/package_managers.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								roles/apps/tasks/package_managers.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
---
 | 
			
		||||
- name: Install Homebrew on macOS
 | 
			
		||||
  block:
 | 
			
		||||
    - name: Check if Homebrew is installed
 | 
			
		||||
      stat:
 | 
			
		||||
        path: /usr/local/bin/brew
 | 
			
		||||
      register: homebrew_check
 | 
			
		||||
 | 
			
		||||
    - name: Install Homebrew
 | 
			
		||||
      shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 | 
			
		||||
      when: not homebrew_check.stat.exists
 | 
			
		||||
      become: no
 | 
			
		||||
  when: ansible_os_family == "Darwin"
 | 
			
		||||
 | 
			
		||||
- name: Install AM (AppMan) on Linux
 | 
			
		||||
  block:
 | 
			
		||||
    - name: Check if AppMan is installed
 | 
			
		||||
      stat:
 | 
			
		||||
        path: "{{ ansible_env.HOME }}/.local/bin/appman"
 | 
			
		||||
      register: appman_check
 | 
			
		||||
 | 
			
		||||
    - name: Install AM as AppMan (local user only)
 | 
			
		||||
      shell: |
 | 
			
		||||
        cd {{ ansible_env.HOME }}
 | 
			
		||||
        wget -q https://raw.githubusercontent.com/ivan-hc/AM/main/AM-INSTALLER
 | 
			
		||||
        chmod a+x ./AM-INSTALLER
 | 
			
		||||
        echo '2' | ./AM-INSTALLER
 | 
			
		||||
        rm ./AM-INSTALLER
 | 
			
		||||
      when: not appman_check.stat.exists
 | 
			
		||||
      become: no
 | 
			
		||||
  when: ansible_os_family == "Debian" or ansible_os_family == "RedHat" or ansible_os_family == "Archlinux"
 | 
			
		||||
		Reference in New Issue
	
	Block a user