<commit_before>---
- hosts: localhost
  tasks:
    - name: install python packages
      ansible.builtin.pip:
        name:
          - azure-identity
          - azure-mgmt-compute
          - azure-mgmt-network
          - azure-storage-blob
        executable: /usr/local/bin/pip3

    - name: install helm plugins
      community.kubernetes.helm_plugin:
        plugin_path: "{{ item }}"
      loop:
        - https://github.com/databus23/helm-diff.git
        - https://github.com/jkroepke/helm-secrets.git

    - name: ensure local bin directory
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/bin"
        state: directory

    - name: install pluto
      ansible.builtin.unarchive:
        src: https://github.com/FairwindsOps/pluto/releases/download/v4.0.5/pluto_4.0.5_darwin_amd64.tar.gz
        dest: "{{ ansible_user_dir }}/bin"
        remote_src: true

    - name: cleanup extra pluto files
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/bin/{{ item }}"
        state: absent
      loop:
        - LICENSE
        - README.md

    - name: create docker plugins directory
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/{{ item }}"
        state: directory
      loop:
        - .docker
        - .docker/cli-plugins

    - name: symlink docker-compose plugin
      ansible.builtin.file:
        src: /usr/local/opt/docker-compose/bin/docker-compose
        dest: "{{ ansible_user_dir }}/.docker/cli-plugins/docker-compose"
        state: link<commit_msg>Fix ansible lint for macos<commit_after>---
- hosts: localhost
  tasks:
    - name: get user's primary group
      ansible.builtin.command: id -gn {{ ansible_user_id }}
      register: whoami_group
      changed_when: false

    - name: install python packages
      ansible.builtin.pip:
        name:
          - azure-identity
          - azure-mgmt-compute
          - azure-mgmt-network
          - azure-storage-blob
        executable: /usr/local/bin/pip3

    - name: install helm plugins
      community.kubernetes.helm_plugin:
        plugin_path: "{{ item }}"
      loop:
        - https://github.com/databus23/helm-diff.git
        - https://github.com/jkroepke/helm-secrets.git

    - name: ensure local bin directory
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/bin"
        owner: "{{ ansible_user_id }}"
        group: "{{ whoami_group.stdout }}"
        mode: 0755
        state: directory

    - name: install pluto
      ansible.builtin.unarchive:
        src: https://github.com/FairwindsOps/pluto/releases/download/v4.0.5/pluto_4.0.5_darwin_amd64.tar.gz
        dest: "{{ ansible_user_dir }}/bin"
        remote_src: true

    - name: cleanup extra pluto files
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/bin/{{ item }}"
        state: absent
      loop:
        - LICENSE
        - README.md

    - name: create docker plugins directory
      ansible.builtin.file:
        path: "{{ ansible_user_dir }}/{{ item }}"
        owner: "{{ ansible_user_id }}"
        group: "{{ whoami_group.stdout }}"
        mode: 0755
        state: directory
      loop:
        - .docker
        - .docker/cli-plugins

    - name: symlink docker-compose plugin
      ansible.builtin.file:
        src: /usr/local/opt/docker-compose/bin/docker-compose
        dest: "{{ ansible_user_dir }}/.docker/cli-plugins/docker-compose"
        state: link
{'fraction_non_alphanumeric': 0.12097246631517282, 'fraction_numerical': 0.008787346221441126, 'mean_word_length': 1.9490500863557858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5766096', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1091, 'n_words': 206}