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.
24 lines
492 B
24 lines
492 B
---
|
|
- name: Update repositories
|
|
community.general.apk:
|
|
update_cache: true
|
|
|
|
- name: Install ext packages
|
|
community.general.apk:
|
|
name: "{{ ext_pkgs }}"
|
|
state: present
|
|
when: not ansible_check_mode
|
|
|
|
- name: Add nginx to boot
|
|
ansible.builtin.service:
|
|
name: nginx
|
|
runlevel: default
|
|
enabled: True
|
|
use: openrc
|
|
when: not ansible_check_mode
|
|
|
|
- name: Deploy nginx.conf
|
|
template:
|
|
src: templates/nginx.j2
|
|
dest: /etc/nginx/nginx.conf
|
|
notify: Restart nginx
|
|
|