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