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.

17 lines
380 B

  1. ---
  2. - name: install mailman and associated packages
  3. apt:
  4. name: "{{ item }}"
  5. state: present
  6. update_cache: yes
  7. cache_valid_time: 3600
  8. with_items:
  9. - mailman3-full
  10. - python3-django-hyperkitty
  11. - name: add nginx configurations
  12. template:
  13. src: mailman3.conf
  14. dest: "/etc/nginx/locations/{{ server_fqdn }}/mailman3.conf"
  15. notify:
  16. - restart nginx