Sin descripción
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.

apache.yml 1011B

1234567891011121314151617181920212223242526272829
  1. ---
  2. # Configures the Apache HTTP server with sane defaults.
  3. - name: Disable default Apache site
  4. command: a2dissite 000-default removes=/etc/apache2/sites-enabled/000-default.conf
  5. notify: restart apache
  6. - name: Enable Apache headers module
  7. command: a2enmod headers creates=/etc/apache2/mods-enabled/headers.load
  8. notify: restart apache
  9. - name: Enable Apache rewrite module
  10. command: a2enmod rewrite creates=/etc/apache2/mods-enabled/rewrite.load
  11. notify: restart apache
  12. - name: Enable Apache proxy module
  13. command: a2enmod proxy creates=/etc/apache2/mods-enabled/proxy.load
  14. notify: restart apache
  15. - name: Enable Apache proxy http module
  16. command: a2enmod proxy_http creates=/etc/apache2/mods-enabled/proxy_http.load
  17. notify: restart apache
  18. - name: Create ServerName configuration file for Apache
  19. template: src=fqdn.j2 dest=/etc/apache2/conf-available/fqdn.conf
  20. - name: Set ServerName for Apache
  21. command: a2enconf fqdn creates=/etc/apache2/conf-enabled/fqdn.conf
  22. notify: restart apache