Skip to content
Snippets Groups Projects
Select Git revision
  • 948549f84fcefede2ec8f7986923796c8ce59922
  • master default protected
  • dzl
  • vuln
  • Callum
5 results

Fuzzer.java

Blame
  • Forked from Toby Murray / swen90006-a2-2018
    Source project has a limited visibility.
    main.yaml 10.26 KiB
    <<<<<<< HEAD
    # ---
    #   - name: check if packages exits
    #     package_facts:
    #       manager: auto
      
    #   - name: 'install all the dependencies '
    #     tags: always
    #     become: yes
    #     apt:
    #         name: ['nodejs','npm']
    #         state: latest
    #         install_recommends: no
    #         update_cache: yes
    #   - debug: 
    #       msg: "node and npm installed"
      
    #   - name: make sure the latest npm is installed
    #     tags: 'node'
    #     become: yes
    #     npm:
    #       name: npm
    #       global: yes
    #       state: latest
      
    #   - name: install pm2 server
    #     tags: 'pm2'
    #     become: yes
    #     npm:
    #       name: pm2
    #       global: yes
    #       state: latest
      
    #   - name: install react
    #     tags: 'react'
    #     become: yes
    #     npm:
    #       name: create-react-app
    #       global: yes
    #       state: present
        
    #   - name: traverse into the project directory.
    #     become: yes
    #     shell: cd
    #     args:
    #       chdir: /var/lib/react
    #     register: dir_changed
      
    #   - name: clone git repo
    #     become: yes
    #     git:
    #       repo: https://github.com/advait22/react-server.git
    #       dest: /var/lib/react
    #       force: yes
    #   - debug:
    #       msg: 'git repo cloned'
    #     when: dir_changed.rc == 0 
      
    #   - name: change working directory to the app
    #     become: yes
    #     shell: cd
    #     args:
    #       chdir: /var/lib/react/express_react_example
    #     register: server
      
    #   - name: install all the packages for server
    #     become: yes
    #     npm:
    #       path: /var/lib/react/express_react_example/
    #       name: install