Make sure bashrc.d directory exists.
This commit is contained in:
parent
006bca4440
commit
0ec67c87b8
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: bash_users
|
with_items: bash_users
|
||||||
|
|
||||||
|
- name: Create bashrc.d directory
|
||||||
|
file: path=~/.bashrc.d state=directory
|
||||||
|
become: true
|
||||||
|
become_user: "{{item}}"
|
||||||
|
with_items: bash_users
|
||||||
|
|
||||||
- name: Install bashrc.d files
|
- name: Install bashrc.d files
|
||||||
copy: "src={{item[1]}} dest=~/.bashrc.d/{{item[1]|basename}}"
|
copy: "src={{item[1]}} dest=~/.bashrc.d/{{item[1]|basename}}"
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue