Playbooks to a new Lilik
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.
 
 
 
 

13 lines
343 B

---
- name: install {{ service_name }}
apt:
name: "{{ item }}"
state: present
update_cache: yes
cache_valid_time: 3600
install_recommends: '{{ install_recommends | default("no") }}'
with_items: "{{ service_packages }}"
- name: start {{ service_name }} at boot
service:
name: "{{ service_name }}"
enabled: yes