Mandible playbook to install https and configure
- User
Mandible playbook to install https and configure
- Assistant
Installing HTTPS and configuring it requires multiple steps. Below is a playbook for installing and configuring HTTPS using Nginx as a web server:
- Update the system:
- name: Update system packages apt: update_cache: yes cache_valid_time: 3600- Install Nginx:
- name: Install Nginx apt: name: nginx state: present- Generate SSL/TLS certificate:
- name: Generate self-signed SSL certificate openssl_certificate: path: /etc/ssl/certs/{{ ansible_fqdn }}.crt privatekey_path: /etc/ssl/private/{{ ansible_fqdn }}.key csr_path: /etc/ssl/{{ ansible_fqdn }}.csr provider: selfsigned privatekey_size: 2048 privatekey_type: RSA
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.