Skip to content

zaszi/ansible-role-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Nginx

Deploys and configures nginx.

Requirements

To install Arch Linux packages, this role relies on the pacman module of the community general collection. Install it with ansible-galaxy collection install community.general.

Role Variables

Variable Choices/Default Comments
vhost_location "", … The path to the directory containing virtual hosts to install
vhosts [], … The list of vhosts to install

Dependencies

None.

Example Playbook

- hosts: all
  become: true
  roles:
     - ansible-role-nginx

License

Ansible-role-nginx is licensed under the MIT license.