|
|
|
@ -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,10 +40,12 @@
|
|
|
|
|
chdir: "{{ item.home }}"
|
|
|
|
|
loop: "{{ ghost }}"
|
|
|
|
|
become: yes
|
|
|
|
|
become_user : "{{ item.account }}"
|
|
|
|
|
become_user: "{{ item.account }}"
|
|
|
|
|
when: ghost_deploy_site in item.name
|
|
|
|
|
tags:
|
|
|
|
|
- install
|
|
|
|
|
notify:
|
|
|
|
|
- Restart service
|
|
|
|
|
- Clean cache yarn
|
|
|
|
|
- NPM Cache clean
|
|
|
|
|
|
|
|
|
|