Remove unused local playbooks
linux.yml targets a linux group the inventory never defines; nothing imports local/ and the issue template already pointed at a nonexistent local/main.yml.

Assisted-by: GLM-5.3 via pi
change rqmplsxlyzutollpynxsqqksoymowwtq
commit 4fb675da6c34de0c38a867347a5e24219283f65b
author Alpha Chen <alpha@kejadlen.dev>
date
parent xuvppowl
diff --git a/.gitea/ISSUE_TEMPLATE.md b/.gitea/ISSUE_TEMPLATE.md
index 66ebe47..6eaf871 100644
--- a/.gitea/ISSUE_TEMPLATE.md
+++ b/.gitea/ISSUE_TEMPLATE.md
@@ -34,12 +34,6 @@ in place.
   git clone --recursive https://git.kejadlen.dev/alpha/boxen.git ~/src/boxen
   ```
 
-- [ ] Run Ansible
-
-  ```sh
-  ansible-playbook local/main.yml
-  ```
-
 - [ ] Install Neovim
 
   ```sh
diff --git a/hosts.yml b/hosts.yml
index f055ae3..938f142 100644
--- a/hosts.yml
+++ b/hosts.yml
@@ -13,9 +13,3 @@ all:
     lotus-land-story:
     mountain-of-faith:
       data_dir: /mnt/mountain-of-faith
-local:
-  hosts:
-    localhost:
-macos:
-  hosts:
-    localhost:
diff --git a/local/linux.yml b/local/linux.yml
deleted file mode 100644
index 668b5d4..0000000
--- a/local/linux.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-- hosts: linux
-  tasks:
-
-    - name: Add myself to sudoers
-      become: true
-      ansible.builtin.lineinfile:
-        path: /etc/sudoers
-        state: present
-        regexp: '^alpha ALL='
-        line: 'alpha ALL=(ALL) NOPASSWD: ALL'
-        validate: /usr/sbin/visudo -cf %s
-
-    - name: Install git
-      become: true
-      block:
-        - name: Add PPA
-          ansible.builtin.apt_repository:
-            repo: "ppa:git-core/ppa"
-            state: present
-        - name: Install git  # noqa: package-latest
-          ansible.builtin.apt:
-            name: git
-            update_cache: true
-            state: latest
-
-    - name: Install git-lfs
-      become: true
-      block:
-        # https://packagecloud.io/github/git-lfs/install#manual-deb
-        - name: Install dependencies
-          ansible.builtin.apt:
-            name:
-              - debian-archive-keyring
-              - curl
-              - gnupg
-              - apt-transport-https
-            update_cache: true
-        - name: Add the GPG key  # noqa: command-instead-of-module risky-shell-pipe
-          ansible.builtin.shell: >
-            curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey
-            | gpg --dearmor
-            > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg
-          args:
-            creates: /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg
-        - name: Add apt repo
-          ansible.builtin.copy:
-            dest: /etc/apt/sources.list.d/github_git-lfs.list
-            mode: '0644'
-            content: |
-              deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu jammy main
-              deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu jammy main
-        - name: Install git-lfs
-          ansible.builtin.apt:
-            name: git-lfs
-            update_cache: true
-
-# vim: ft=yaml.ansible
diff --git a/local/macos.yml b/local/macos.yml
deleted file mode 100644
index 3cc4162..0000000
--- a/local/macos.yml
+++ /dev/null
@@ -1,94 +0,0 @@
-- tags: dock
-  hosts: macos
-  tasks:
-    - name: Install dockutil
-      homebrew:
-        name: dockutil
-        state: present
-
-    - name: Get dock icons
-      ansible.builtin.command: dockutil --list
-      register: dockutil_result
-
-    - name: Remove all dock icons
-      ansible.builtin.command: dockutil --remove all
-
-    - name: Add ~/Downloads to the Dock
-      ansible.builtin.command: |
-        dockutil --add ~/Downloads
-          --view list
-          --display stack
-          --sort datemodified
-      when: not (dockutil_result.stdout_lines | length == 1 and dockutil_result.stdout is search("^Downloads"))
-
-    - name: Remove dockutil
-      homebrew:
-        name: dockutil
-        state: absent
-
-    - name: Restart dock
-      ansible.builtin.command: killall Dock
-
-- tags: library
-  hosts: macos
-  tasks:
-
-    - name: Create ~/Library directories
-      ansible.builtin.file:
-        path: ~/Library/{{ item }}
-        state: directory
-        mode: '0755'
-      loop:
-        - Colors
-        - Dictionaries
-        - KeyBindings
-
-    - name: Symlink Emacs-style keybindings for OS X
-      ansible.builtin.file:
-        src: ~/.dotfiles/macos/DefaultKeyBinding.dict
-        dest: ~/Library/KeyBindings/DefaultKeyBinding.dict
-        state: link
-
-    - name: Symlink OS X colors palettes
-      ansible.builtin.file:
-        src: "{{ item }}"
-        dest: ~/Library/Colors/{{ item | basename }}
-        state: link
-      with_fileglob: ~/.dotfiles/macos/colors/*
-
-    - name: Install Webster's 1913 dictionary
-      ansible.builtin.copy:
-        src: ~/.dotfiles/macos/websters-1913.dictionary/
-        dest: ~/Library/Dictionaries/websters-1913.dictionary
-        mode: "644"
-
-- tags: system
-  hosts: macos
-  tasks:
-
-    - name: Enable Touch ID for sudo
-      become: true
-      ansible.builtin.lineinfile:
-        path: /etc/pam.d/sudo
-        insertafter: '^auth\s+sufficient'
-        regexp: '^auth\s+sufficient\s+pam_tid.so$'
-        line: "auth       sufficient     pam_tid.so"
-
-    - name: Enable Touch ID for sudo in tmux
-      become: true
-      ansible.builtin.lineinfile:
-        path: /etc/pam.d/sudo
-        insertbefore: '^auth\tsufficient\tpam_tid.so'
-        regexp: '^auth\s+optional\s+.*pam_reattach.so$'
-        line: "auth       optional       /opt/homebrew/lib/pam/pam_reattach.so"
-
-    # https://infosec.exchange/@briankrebs/111434555426146154
-    - name: Change TTL to 65 for fooling tethering detection
-      become: true
-      ansible.builtin.command: sysctl -w {{ item }}=65
-      loop:
-        - net.inet.ip.ttl
-        - net.inet6.ip6.hlim
-      changed_when: true
-
-# vim: set ft=yaml.ansible