dotfiles/github-bin/main.yml

39 lines
882 B
YAML

---
- 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:
- name: Install user python modules
ansible.builtin.pip:
name:
- github3.py
extra_args: --user
- 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