Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

alg-3_npminstall.yaml

  • 脚本内容
    - hosts: prod
      vars:
        project_path: /home/ubuntu/qin-server
      tasks:
        - name: Npm install qin-common
          npm:
            path: "{{ project_path }}/qin-common"
            registry: "http://mirrors.cloud.tencent.com/npm/"
          ignore_errors: yes
        - name: Npm install alg-server-v2
          npm:
            path: "{{ project_path }}/alg-server-v2"
            registry: "http://mirrors.cloud.tencent.com/npm/"