Sostituzione di prepare con un playbook che viene lanciato sulla macchina locale.
This commit is contained in:
parent
23343af106
commit
813cf57d54
78 changed files with 885 additions and 70 deletions
26
roles/zsh/tasks/config/main.yml
Normal file
26
roles/zsh/tasks/config/main.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
# Configuring zsh
|
||||
|
||||
- name: Fixing base settings
|
||||
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml"
|
||||
|
||||
- name: Set zsh as default shell for syntaxerrormmm
|
||||
ansible.builtin.user:
|
||||
name: syntaxerrormmm
|
||||
shell: /usr/bin/zsh
|
||||
|
||||
- name: Creating personal folder for customization
|
||||
ansible.builtin.file:
|
||||
path: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.zsh/conf.d"
|
||||
state: directory
|
||||
owner: syntaxerrormmm
|
||||
group: syntaxerrormmm
|
||||
mode: "0755"
|
||||
|
||||
- name: Linking main file
|
||||
ansible.builtin.file:
|
||||
src: "{{ dotfdir }}/zshrc"
|
||||
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.zshrc"
|
||||
state: link
|
||||
owner: syntaxerrormmm
|
||||
group: syntaxerrormmm
|
Loading…
Add table
Add a link
Reference in a new issue