Code Monkey home page Code Monkey logo

ansible-role-locust's Introduction

build-test release Ansible Role Maintainability Rating Reliability Rating Security Rating GitHub tag (latest SemVer) GitHub repo size

Ansible Role: locust

Role to install locust pip package on Debian/Ubuntu systems for load testing purposes.

Requirements

None.

Role Variables

Available variables are listed below (located in defaults/main.yml):

Variables List:

locust_debian_pre_reqs:
  - python3
  - python3-pip
locust_debian_pre_reqs_desired_state: present
pip_executable: pip3
pip_upgrade_version: latest
locust_app_debian_package: locust
locust_desired_state: present

Variables table:

Variable Description
locust_debian_pre_reqs Packages required to install locust on Debian based systems. Using python3 as python2.x is EOL by end of 2020.
locust_debian_pre_reqs_desired_state Desired state for locust pre-requisite apps on Debian systems.
pip_executable The executable to utilize for installing pip package of locust.
locust_app_debian_package Name of locust application package require to be installed i.e. locust on Debian based systems.
locust_desired_state Desired state for locust.

Dependencies

None

Example Playbook

For default behaviour of role (i.e. installation of locust package) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.locust

For customizing behavior of role (i.e. installation of latest locust package instead of ensure it is installed ) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.locust
  vars:
    locust_desired_state: latest

For customizing behavior of role (i.e. removal of locust package) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.locust
  vars:
    locust_desired_state: absent

License

MIT

Author Information

This role was created by Ali Muhammad, a DevOps/CloudOps Engineer who loves to learn and contribute to Open Source community.

ansible-role-locust's People

Contributors

darkwizard242 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.