Skip to content

unleftie/ansible-role-nginx

 
 

Repository files navigation

Role for nginx setup

CI OpenSSF Scorecard

Compatibility

Platform Version
debian 12

Dependencies

Role dependencies

  • iptables required
  • iptables persistent optional

Local Testing

git clone https://github.com/unleftie/ansible-role-nginx.git
cd ansible-role-nginx/
molecule test

Installation

Upgradability notice: When upgrading from old version of this role, be aware that some files may be lost.

- name: Sample 1
  hosts: all
  become: true
  pre_tasks:
    - name: Ensure apt cache are updated
      apt:
        update_cache: true
        cache_valid_time: 3600
      when: ansible_os_family == "Debian"
  tasks:
    - include_role:
        name: "ansible-role-nginx"

📝 License

This project is licensed under the Apache License 2.0.

About

Ansible role that installs nginx on Linux

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 93.9%
  • Jinja 6.1%