설명 없음
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 592B

1234567891011121314151617
  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
  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: Create ServerName configuration file for Apache
  10. template: src=fqdn.j2 dest=/etc/apache2/conf-available/fqdn.conf
  11. - name: Set ServerName for Apache
  12. command: a2enconf fqdn creates=/etc/apache2/conf-enabled/fqdn.conf
  13. notify: restart apache