dotfiles/github-bin/main.yml

40 lines
882 B
YAML
Raw Normal View History

2024-10-15 03:10:59 +00:00
---
- name: Update utilities from GitHub
hosts: 127.0.0.1
connection: local
vars:
home_dir: "{{ ansible_facts['env']['HOME'] }}"
gh_bin_dir: "{{ home_dir }}/ghbin"
tasks:
2024-10-15 18:47:35 +00:00
- name: Install user python modules
ansible.builtin.pip:
name:
- github3.py
extra_args: --user
2024-10-15 03:10:59 +00:00
- name: Setup GitHub bin locaiton
ansible.builtin.file:
path: "{{ gh_bin_dir }}"
state: directory
mode: "0755"
- name: doctl
ansible.builtin.include_tasks: doctl.yml
vars:
gh_user: digitalocean
gh_project: doctl
- name: starship
ansible.builtin.include_tasks: starship.yml
vars:
gh_user: starship
gh_project: starship
- name: marksman
ansible.builtin.include_tasks: marksman.yml
vars:
gh_user: artempyanykh
gh_project: marksman