This playbook prepares a host and runs the official Adshares installer workflow.
- name: Install Adshares AdServer
hosts: adshares
become: true
tasks:
- name: Install base dependencies
ansible.builtin.package:
name:
- git
- curl
state: present
- name: Clone Adshares installer repository
ansible.builtin.git:
repo: https://github.com/adshares/AdServer.git
dest: /opt/adshares-adserver
version: main
- name: Run installer playbook
ansible.builtin.command: ansible-playbook -i inventory site.yml
args:
chdir: /opt/adshares-adserver
failed_when: false
Beyond this playbook, we offer:
Contact our automation team: office@linux-server-admin.com