don't need "" or {{}} using when: with variables
This commit is contained in:
parent
f6dac7c5c1
commit
08ff77f5f8
@ -41,7 +41,7 @@
|
||||
loop:
|
||||
- ".bashrc"
|
||||
- ".bash_profile"
|
||||
when: "{{ansible_user_id}}" != "root"
|
||||
when: ansible_user_id != "root"
|
||||
|
||||
- name: delete old configs
|
||||
file:
|
||||
@ -50,7 +50,7 @@
|
||||
loop:
|
||||
- ".bashrc"
|
||||
- ".bash_profile"
|
||||
when: "{{ansible_user_id}}" != "root"
|
||||
when: ansible_user_id != "root"
|
||||
|
||||
- name: link the dotfiles to users home directory
|
||||
command:
|
||||
|
Loading…
Reference in New Issue
Block a user