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

9 years ago
  1. ---
  2. - name: install {{ service_name }}
  3. apt:
  4. name: "{{ item }}"
  5. state: present
  6. update_cache: yes
  7. cache_valid_time: 3600
  8. install_recommends: '{{ install_recommends | default("no") }}'
  9. with_items: "{{ service_packages }}"
  10. - name: start {{ service_name }} at boot
  11. service:
  12. name: "{{ service_name }}"
  13. enabled: yes