Skip to content

andydevlabs/hei_apache2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Create server Web automatically on Apache2 from a list of domain names using Ansible

IMPORTANT !

This will only works on Debian and Ubuntu

Prerequisite

  • should be root user or have root privilege
  • ssh should be installed on your server

List of domain names

The list of domain names should be provide as a text in this form:

- www.hei.school
- back.hei.school
- front.hei.school
- api.hei.school

Example

The "domains" variable should only be changed in the playbook

---
  - name: Installation de serveurs Web
    hosts: web
    remote_user: root
    vars:
      domains:
        - www.hei.school
        - back.hei.school
        - front.hei.school
        - api.hei.school
  
  roles:
    - apache2
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages