diff --git a/roles/role1/files/profile.d/dreistromland-bash-history.sh b/roles/common/files/profile.d/dreistromland-bash-history.sh similarity index 100% rename from roles/role1/files/profile.d/dreistromland-bash-history.sh rename to roles/common/files/profile.d/dreistromland-bash-history.sh diff --git a/roles/role1/files/profile.d/dreistromland-bash-prompt.sh b/roles/common/files/profile.d/dreistromland-bash-prompt.sh similarity index 100% rename from roles/role1/files/profile.d/dreistromland-bash-prompt.sh rename to roles/common/files/profile.d/dreistromland-bash-prompt.sh diff --git a/roles/role1/tasks/improved-bash.yml b/roles/common/tasks/improved-bash.yml similarity index 66% rename from roles/role1/tasks/improved-bash.yml rename to roles/common/tasks/improved-bash.yml index bcdc20a..5984c55 100644 --- a/roles/role1/tasks/improved-bash.yml +++ b/roles/common/tasks/improved-bash.yml @@ -2,6 +2,6 @@ - name: Copy bash config files ansible.builtin.copy: - src: ../files/ + src: ../files/profile.d/* dest: /etc/profile.d/ become: true \ No newline at end of file diff --git a/roles/role1/tasks/main.yml b/roles/common/tasks/main.yml similarity index 100% rename from roles/role1/tasks/main.yml rename to roles/common/tasks/main.yml