diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-09-30 21:25:28 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-09-30 21:30:53 +0200 |
commit | a39fb817e87d053f82e06305b4a737d40c483ee3 (patch) | |
tree | 595e7297f2f7a565e3e5786255e17d4815eab486 /roles/users/tasks | |
parent | a34e4d1dfe1b6990824051fde40e9288c8cdfd5d (diff) | |
download | labitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.tar.gz labitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.tar.xz labitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.zip |
users: root: let each user have their own root bashrc
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: |