Added common task for install Bash config

This commit is contained in:
Fabio Scotto di Santolo
2026-03-15 23:18:52 +01:00
parent badad3bcf6
commit 2ff59fa5c6
4 changed files with 348 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Copy .bashrc
ansible.builtin.copy:
src: "{{ playbook_dir }}/../dotfiles/common/.bashrc"
dest: "{{ user_home }}/.bashrc"
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "0644"
- name: Copy .bash_profile
ansible.builtin.copy:
src: "{{ playbook_dir }}/../dotfiles/common/.bash_profile"
dest: "{{ user_home }}/.bash_profile"
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "0644"

View File

@@ -1,4 +1,10 @@
---
- hosts: all
become: true
roles:
- dotfiles_common
- hosts: void
become: true