Skip to content

pcopfer/ansible-nginx-default

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcopfer.nginx-default

A role to add a default Page to nginx Server with Https.

Role Variables

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

  • nginx_sites_path: /etc/nginx/sites
  • nginx_locations_path: /etc/nginx/sites-enabled
  • nginx_default_servername: "{{ ansible_fqdn }}"
  • nginx_default_ssl: yes

Dependencies

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: pcopfer.nginx-default }

License

BSD

Author Information

pcopfer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages