GithubHelp home page GithubHelp logo

miguelramosfdz / ansible-playbooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from francisbesset/ansible-playbooks

0.0 1.0 0.0 227 KB

My Ansible playbooks — An idea, a fix, etc. you can send me a PR

ansible-playbooks's Introduction

Ansible

My ansible playbooks.

Usage

---
  - hosts: webservers

  - include: python/apt.yml
  - include: apt/dotdeb.yml
    vars:
      with_php54: false

  - include: iptables/persistent.yml
    vars:
      iptables_file_rules: ../../an_iptables_file_rules

  - include: python/mysqldb.yml
  - include: mysql/mysql.yml
    vars:
      mysql_root_password: TheUserRootPassword
      mysqld:
        bind_address: 127.0.0.1
        key_buffer: 16M
        max_connection: 100
        # skip archive storage engine
        skip-archive: ~
        # you can add other key/value

  - include: php5/fpm.yml
    vars:
      delete_default_pool: true
  - include: php5/fpm-pool.yml
    vars:
      name: foo
      listen: /var/run/php5-fpm-foo.sock
      pm_process_idle_timeout: 20s
      pm_max_requests: 100
      php_flag:
        display_errors: off
        # you can add other key/value
      php_admin_flag:
        log_errors: on
        # you can add other key/value
      php_admin_value:
        memory_limit: 64M
        # you can add other key/value
  - include: php5/fpm-pool.yml
    vars:
      name: bar
      listen: /var/run/php5-fpm-bar.sock

  - include: nginx/nginx.yml
    vars:
      delete_default_vhost: true
  - include: nginx/vhost-redirect.yml
    vars:
      name: redirect_$server_name
      listen: "*:80"
      server_name: example.org
      redirect_url: http://www.$server_name

  - include: memcached/memcached.yml
    vars:
      listen: 127.0.0.1
      listen: 11211
      memory: 64
      max_connections: 1024

  - include: swap/swappiness.yml
    vars:
      swappiness: 60

ansible-playbooks's People

Contributors

francisbesset avatar schickling avatar

Watchers

 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.