Commit 74b2e987 authored by nanahira's avatar nanahira

update

parent b930b8f0
......@@ -19,15 +19,12 @@
when: "(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int < 18) or (ansible_distribution == 'Debian' and ansible_distribution_major_version|int < 9)"
- name: nodesource
become: true
with_items:
- deb
- deb-src
apt_repository:
filename: nodesource
repo: 'deb https://deb.nodesource.com/node_12.x {{ansible_distribution_release}} main'
when: "(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int < 18) or (ansible_distribution == 'Debian' and ansible_distribution_major_version|int < 9)"
- name: nodesource
become: true
apt_repository:
filename: nodesource
repo: 'deb-src https://deb.nodesource.com/node_12.x {{ansible_distribution_release}} main'
repo: '{{item}} https://deb.nodesource.com/node_12.x {{ansible_distribution_release}} main'
when: "(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int < 18) or (ansible_distribution == 'Debian' and ansible_distribution_major_version|int < 9)"
- name: apt
become: true
......@@ -103,14 +100,11 @@
shell: n 12
- name: npm
become: true
with_items:
- npm
- pm2
npm:
name: npm
state: latest
global: true
- name: pm2
become: true
npm:
name: pm2
name: '{{item}}'
state: latest
global: true
- name: ygopro
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment