Bez popisu
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.

blog.yml 470B

1234567891011
  1. - name: Create directory for blog HTML
  2. file: state=directory path=/var/www/${blog_domain} group=www-data owner=www-data
  3. - name: Configure the Apache HTTP server for the blog
  4. template: src=etc_apache2_sites-available_blog.j2 dest=/etc/apache2/sites-available/${blog_domain} group=www-data owner=www-data
  5. notify: restart apache
  6. - name: Enable blog site
  7. command: a2ensite ${blog_domain} creates=/etc/apache2/sites-enabled/${blog_domain}
  8. notify: restart apache