This commit is contained in:
parent
46a28a9ead
commit
0a7dfab99f
1 changed files with 5 additions and 4 deletions
|
@ -28,7 +28,8 @@
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: npm install --global yarn
|
cmd: npm install --global yarn
|
||||||
|
|
||||||
- stat: path=/opt/thelounge
|
- ansible.builtin.stat:
|
||||||
|
path: /opt/thelounge
|
||||||
register: src_path
|
register: src_path
|
||||||
|
|
||||||
- name: Retreive thelounge source
|
- name: Retreive thelounge source
|
||||||
|
@ -67,14 +68,14 @@
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Ensure JS and JSON syntax checking packages are installed
|
- name: Ensure JS and JSON syntax checking packages are installed
|
||||||
yarn:
|
community.general.yarn:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
global: yes
|
global: yes
|
||||||
state: latest # FIXME: Remove when https://github.com/ansible/ansible/pull/39557 makes it in
|
# state: latest # FIXME: Remove when https://github.com/ansible/ansible/pull/39557 makes it in
|
||||||
with_items:
|
with_items:
|
||||||
- esprima
|
- esprima
|
||||||
- jsonlint
|
- jsonlint
|
||||||
changed_when: no # FIXME: Remove when https://github.com/ansible/ansible/pull/39557 makes it in
|
# changed_when: no # FIXME: Remove when https://github.com/ansible/ansible/pull/39557 makes it in
|
||||||
|
|
||||||
- name: Configure templates
|
- name: Configure templates
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue