Oliver Davies
8916e90050
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning so that everything can be managed in one place, and add a role for each piece of software.
18 lines
328 B
YAML
18 lines
328 B
YAML
---
|
|
- name: Install
|
|
ansible.builtin.package:
|
|
name:
|
|
- git
|
|
state: latest
|
|
become: true
|
|
|
|
- name: Configuration
|
|
ansible.builtin.file:
|
|
src: "{{ role_path }}/files/{{ item }}"
|
|
dest: "{{ ansible_user_dir }}/{{ item }}"
|
|
state: link
|
|
with_items:
|
|
- .gitconfig
|
|
- .gitignore-global
|
|
- .gitmessage
|