Skip to content
Snippets Groups Projects
Select Git revision
  • 626a96ddd7fc127238db43ab1e112304543f6ecd
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

plugin.go

Blame
  • main.yaml 1.14 KiB
    ---
    - name: "installation des dépendances python et librairies client mariadb"
      become: true
      apt:
          name: "{{ item }}"
          state: latest
      loop:
          - python3
          - python3-pip
          - python3-venv
          - mariadb-client
          - libmariadb-dev
    
    - name: "installation de wheel"
      pip:
          name: wheel
          virtualenv: /home/app-vapormap/vapormap-prod/venv/app
          virtualenv_command: 'python3 -m venv'
      remote_user: app-vapormap
      become: yes
    
    
    - name: "installation  des requirements"
      pip:
        requirements: /home/app-vapormap/vapormap-prod/app/requirements/production.txt
        virtualenv: /home/app-vapormap/vapormap-prod/venv/app
      remote_user: app-vapormap
      become: yes
    
    - name: "script flask"
      template:
            src: templates/flask.bash.j2
            dest: /home/app-vapormap/vapormap-prod/flask.bash
      remote_user: app-vapormap
      become: yes
      notify: "flask"
    
    - name: "vapormap api"
      template:
            src: templates/vapormap-api.service.j2
            dest: /etc/systemd/system/vapormap-api.service
            mode: '0755'
      remote_user: app-vapormap
      become: yes
      notify:
        - Reload systemd
        - "vapormap-api-service"