You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
327 B

---
- name: Update packages
shell: apt update
- name: Install nginx
shell: apt install nginx -y
- name: Enable nginx
shell: systemctl enable nginx
- name: Copy nginx config
copy:
src: 'octobercms.conf'
dest: '/etc/nginx/includes.d'
mode: 0744
- name: Restart nginx
shell: systemctl restart nginx
...