Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

19 Zeilen
816 B

  1. - name: Install required binary packages
  2. apt: name={{item}} state=installed
  3. with_items:
  4. - apache2
  5. - libapache2-mod-php
  6. notify: restart apache
  7. - name: Create Apache vhost configuration for HTTPS (RoundCube and PHPmyadmin)
  8. template: src=webmail.conf-443.j2 dest=/etc/apache2/sites-available/default-ssl.conf
  9. notify: restart apache
  10. - name: Enable Apache vhost for HTTPS
  11. command: /usr/sbin/a2ensite default-ssl creates=/etc/apache2/sites-enabled/default-ssl.conf
  12. notify: restart apache
  13. - name: Create Apache vhost configuration for HTTP (redirect to HTTPS)
  14. template: src=webmail.conf-80.j2 dest=/etc/apache2/sites-available/000-default.conf
  15. notify: restart apache
  16. - name: Enable Apache SSL module
  17. command: /usr/sbin/a2enmod ssl creates=/etc/apache2/mods-enabled/ssl.conf
  18. notify: restart apache