Giter VIP home page Giter VIP logo

ansible-role-aegir's Introduction

Ansible Role: Aegir

pipeline status

Installs the Aegir hosting system, a control panel for deploying and managing large networks of Drupal sites.

Requirements

Ubuntu Focal (20.04) is the currently supported OS version. Debian (or any OS that supports apt) should work, too, but YMMV.

A MySQL server is required. This server can be installed on the same machine, or a separate one (hence why this isn't listed as a dependency). See below for an example of how to install MySQL using the consensus.mysql role. For details on configuring this role to talk to local or remote MySQL servers, see the aegir_mysql_* role variables.

Ansible pipelining must be enabled. It's necessary because this role contains tasks that run as the aegir user, who doesn't have permission to access Ansible's temporary command files. With pipelining turned on, these files aren't used.

For further details regarding installation of Aegir, see the relevant Aegir documentation.

Role Variables

The default Debian package install should suffice in the majority of cases. However, this role allows for extensive customization of all aspects of the Aegir install process via role variables. For more details, see defaults/main.yml and vars/main.yml.

Example Playbook

---
- name: "Default Aegir install via Debian package."
  hosts: all

  roles:
    - consensus.mysql
    - consensus.aegir

  tasks: 

    # optional
    - name: Generate and print a one-time login link after Aegir installation.
      include_role:
        name: consensus.aegir
        tasks_from: login_link.yml

After the playbook runs, the Aegir front-end site will be available, as will the Drush extensions (Provision, et. al.) that do the heavy lifting.

See the various included test playbooks for examples of other ways this role can be configured:

  • deb-nginx.yml: Aegir Debian package build with Nginx.
  • git-deploy.yml: End-to-end Aegir build from git source.
  • custom-deploy.yml: End-to-end Aegir build from source, with custom git repos and versions (for Drush, Provision, etc.)

License

GNU AGPLv3

Author Information

This role was originally created in 2015 by Christopher Gervais, lead maintainer of the Aegir Hosting System.

It has also had input from Dan Friedman and other folks at Consensus Enterprises. To contact us, please use our Web contact form.

ansible-role-aegir's People

Contributors

ergonlogic avatar lamech avatar sensespidey avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

joestewart fflch

ansible-role-aegir's Issues

fix build .travis error

TASK [ergonlogic.aegir : Write Hostmaster makefile] ****************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the file_name '/home/travis/build/ergonlogic/ansible-role-aegir/tests/aegir.make' does not exist, or is not readable"}

Skynet installation fails

We are using the wrong variable for Skynet bin path, and not ensuring Skynet script is executable.

semaphore lock

what happens to me

I run this and then drush @hm uli to login and I think I wedge semaphore

would be good to be able to add default email and receive uli

this fixes it

drush @hm sqlc
DELETE FROM semaphore WHERE name="hosting_queue_tasks_running";

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.