refactor: combine with Ubuntu Provisioning repo
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.
This commit is contained in:
parent
e11cf61218
commit
8916e90050
73 changed files with 239 additions and 3783 deletions
23
roles/zsh/tasks/main.yaml
Normal file
23
roles/zsh/tasks/main.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: Install
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- zsh
|
||||
state: latest
|
||||
become: true
|
||||
|
||||
- name: Set default
|
||||
user:
|
||||
name: "{{ ansible_env['USER'] }}"
|
||||
shell: /usr/bin/zsh
|
||||
become: yes
|
||||
|
||||
- name: Configuration
|
||||
ansible.builtin.file:
|
||||
src: "{{ role_path }}/files/{{ item }}"
|
||||
dest: "{{ ansible_user_dir }}/{{ item }}"
|
||||
state: link
|
||||
with_items:
|
||||
- .zsh
|
||||
- .zshenv
|
||||
- .zshrc
|
Loading…
Add table
Add a link
Reference in a new issue