Commit c262dc51 authored by 神楽坂玲奈's avatar 神楽坂玲奈

npm

parent df77e771
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
"name": "nextgen", "name": "nextgen",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"scripts": {
"inventory": "ts-node src/inventory.ts"
},
"dependencies": { "dependencies": {
"@types/lodash": "^4.14.149", "@types/lodash": "^4.14.149",
"csv-parse": "^4.8.5", "csv-parse": "^4.8.5",
......
#!/usr/bin/env bash #!/usr/bin/env bash
mkdir -p result mkdir -p result
ts-node src/inventory.ts npm run inventory
cd ansible || exit cd ansible || exit
ansible-playbook -i ../result/inventory.yaml install.yaml ansible-playbook -i ../result/inventory.yaml install.yaml
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