Coder Social home page Coder Social logo

ansible-role-adservice's Introduction

Adshares

Adshares / Adservice Ansible role

Report bug · Request feature · Docs

Adshares adservice

Installs and configures the Adshares adserver with all necessary modules.

Requirements

  • Domain with 3 subdomains for AdServer, AdPanel and AdUser (default app., panel. and au.) directed to the server.

Role Variables

service_name

Required. Available services: adserver, adpanel, adselect, aduser, adpay, adcontroller.

setup: false

Enables installation and configuration of libraries and packages necessary for the service.

deploy: false

Enables the deployment or update of the service.

server_domain: localhost

Domain of publicly available services (AdServer, AdPanel, AdController, AdUser) - e.g. example.com

adserver_prefix: app

AdServer module domain prefix (subdomain) - e.g. app.example.com

adpanel_prefix: panel

AdPanel module domain prefix (subdomain) - e.g. panel.example.com

aduser_prefix: au

AdUser module domain prefix (subdomain) - e.g. au.example.com

use_certbot: true

Enables the use of certbot (for Let's Encrypt).

vendor_dir: /opt/adshares

Service installation folder.

log_dir: /var/log/adshares

Service logs folder.

service_user: adshares

Service installation username.

repo_version: master

Service code version.

clean_after_days: 7

The period of keeping old version files.

Dependencies

Example Playbook

Installing all modules:

- hosts: servers
  roles:
    - role: adshares.adservice
      vars:
        service_name: "{{ item }}"
        server_domain: example.com
        setup: true
        deploy: true
      loop:
        - adserver
        - adpanel
        - adselect
        - aduser
        - adpay
        - adcontroller

Updating all modules:

- hosts: servers
  roles:
    - role: adshares.adservice
      vars:
        service_name: "{{ item }}"
        deploy: true
      loop:
        - adserver
        - adpanel
        - adselect
        - aduser
        - adpay
        - adcontroller

Contributing

Please follow our Contributing Guidelines

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

Related projects

License

This work is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the License along with this work. If not, see https://www.gnu.org/licenses/gpl.html.

ansible-role-adservice's People

Contributors

m-pilarczyk avatar mabdi avatar pawelpodkalicki 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.