Report bug · Request feature · Docs
Installs and configures the Adshares adserver with all necessary modules.
- Domain with 3 subdomains for AdServer, AdPanel and AdUser (default
app.
,panel.
andau.
) directed to the server.
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.
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
Please follow our Contributing Guidelines
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Maciej Pilarczyk - Programmer
- Paweł Podkalicki - Programmer
See also the list of contributors who participated in this project.
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.