Fix space typo and var name
This commit is contained in:
parent
0c3894681b
commit
3ff6b10cb4
|
@ -11,17 +11,17 @@
|
|||
- name: "Clean cache yarn"
|
||||
shell: "yarn cache clean"
|
||||
args:
|
||||
chdir: "/home/{{ item.account_name }}/"
|
||||
chdir: "/home/{{ item.home }}/"
|
||||
become: yes
|
||||
become_user: "{{ item.account_name }}"
|
||||
become_user: "{{ item.account }}"
|
||||
loop: "{{ ghost }}"
|
||||
when: ghost_deploy_site in item.name
|
||||
|
||||
- name: "NPM Cache clean"
|
||||
shell: "npm cache clean --force"
|
||||
args:
|
||||
chdir: "/home/{{ item.account_name }}/"
|
||||
chdir: "/home/{{ item.home }}/"
|
||||
become: yes
|
||||
become_user: "{{ item.account_name }}"
|
||||
become_user: "{{ item.account }}"
|
||||
loop: "{{ ghost }}"
|
||||
when: ghost_deploy_site in item.name
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
group: "{{ item.account }}"
|
||||
loop: "{{ ghost }}"
|
||||
become: yes
|
||||
become_user : "{{ item.account }}"
|
||||
become_user: "{{ item.account }}"
|
||||
when: ghost_deploy_site in item.name
|
||||
tags:
|
||||
- install
|
||||
|
@ -29,7 +29,7 @@
|
|||
chdir: "{{ item.home }}"
|
||||
loop: "{{ ghost }}"
|
||||
become: yes
|
||||
become_user : "{{ item.account }}"
|
||||
become_user: "{{ item.account }}"
|
||||
when: ghost_deploy_site in item.name
|
||||
tags:
|
||||
- install
|
||||
|
@ -40,7 +40,7 @@
|
|||
chdir: "{{ item.home }}"
|
||||
loop: "{{ ghost }}"
|
||||
become: yes
|
||||
become_user : "{{ item.account }}"
|
||||
become_user: "{{ item.account }}"
|
||||
when: ghost_deploy_site in item.name
|
||||
tags:
|
||||
- install
|
||||
|
|
Loading…
Reference in a new issue