GithubHelp home page GithubHelp logo

odoo_role's Introduction

Ansible Role: Odoo for Labs or training

CI

An Ansible Role that installs up to three odoo instances on Linux , specially tailored for Linux Distribution

If you need a more flexible and generic role for deploying simultaneous 3 odoo instances for labs or any other needs, check out sadofrazer.ansible_odoo.

Requirements

This roles needs Docker Compose, requires Docker, Python Pip already be installed (you can use geerlingguy.pip to install it).

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

The administrator who realize the deploy

administrator: Frazer

The Odoo Instance variables, uses to create ressources of this specific odoo instance

instance_name: INTEGRAL
port: 8080
db_user: odoo
db_pass: odoo
url_name: frazer-odoo.cloudapps-cm.com
email_address: [email protected] 

odoo parameter which permit user to manage database needs to be true when odoo DB doesn't exist

list_db: True

Use with Ansible and docker Python library if doesn't install

Many users of this role wish to also use Ansible to then build Docker images and manage Docker containers on the server where Docker is installed. In this case, you can easily add in the docker Python library using the geerlingguy.pip role:

- hosts: rpi

  vars:
    pip_package: python3-pip
    pip_install_packages:
      - name: docker

  roles:
    - geerlingguy.pip
    - geerlingguy.docker_arm

Dependencies

None.

Example Playbook

- hosts: client
  become: true
  vars:
    pip_package: python3-pip
  vars_files:
    - files/secrets/credentials.yml
  roles:
    #- geerlingguy.pip
    #- geerlingguy.docker
    - odoo

Author Information

This role was created in 2021 by Frazer SADO, author of Ansible for odoo.

odoo_role's People

Contributors

sadofrazer 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.