Platform | Version |
---|---|
debian | 12 |
- Ansible (v2.14+)
- Molecule + (v4.0.4+) + docker plugin (for local testing)
- Docker (for local testing)
- iptables
required
- iptables persistent
optional
git clone https://github.com/unleftie/ansible-role-nginx.git
cd ansible-role-nginx/
molecule test
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"
This project is licensed under the Apache License 2.0.