22 lines
458 B
YAML
22 lines
458 B
YAML
---
|
|
|
|
# configure dhparam file
|
|
- name: 'configure - dhparam'
|
|
ansible.builtin.copy:
|
|
src: 'files/nginx/dhparam.pem'
|
|
dest: '/etc/nginx/dhparam.pem'
|
|
owner: 'root'
|
|
group: 'root'
|
|
mode: '0644'
|
|
notify: 'restart nginx'
|
|
|
|
# configure nginx
|
|
- name: 'config - configure nginx'
|
|
ansible.builtin.copy:
|
|
src: 'files/nginx/nginx.conf'
|
|
dest: '/etc/nginx/nginx.conf'
|
|
owner: 'root'
|
|
group: 'root'
|
|
mode: '0644'
|
|
notify: 'restart nginx'
|