diff options
Diffstat (limited to 'roles/users/tasks')
-rw-r--r-- | roles/users/tasks/root.yml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/roles/users/tasks/root.yml b/roles/users/tasks/root.yml index e5b3b45..8ac84e7 100644 --- a/roles/users/tasks/root.yml +++ b/roles/users/tasks/root.yml @@ -1,18 +1,13 @@ --- -- name: root .bash_profile +- name: root - dotfiles copy: - dest: '/root/.bash_profile' - src: root/bash_profile.sh - owner: root - group: root - mode: 0644 - -- name: root .bashrc - template: - dest: '/root/.bashrc' - src: root/bashrc.sh.j2 + dest: '~root/.{{ item }}' + src: 'root/{{ item }}' owner: root group: root mode: 0644 + with_items: + - bash_profile + - bashrc # vim: set ts=2 sw=2 et: |