Skip to content

An Ansible role for setting up nginx to work with Python's Pelican package

Notifications You must be signed in to change notification settings

talaniz/pelican-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican Nginx Role

A role to setup Nginx to server Pelican static files.

Requirements

Ansible version 16+ as the ufw module is used.

Variables

  • nginx: location of the nginx installation (/etc/nginx/nginx.conf)
  • files_dir: location of files to transfer nginx.conf
  • templates_dir: location of templates to transfer default file

Example Playbook

- hosts: servers
  vars:
     - files_dir: ~/ansible/playbooks/files
     - templates_dir: ~/ansible/playbooks/templates
  roles:
     - talaniz.pelican-nginx

License

BSD

Author Information

E-mail: [email protected] Website: www.antonioalaniz.com

About

An Ansible role for setting up nginx to work with Python's Pelican package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published