web_tasks.yml 306 B

123456789101112131415
  1. - name: Install and enable httpd
  2. import_tasks: install_and_enable.yml
  3. vars:
  4. package: httpd
  5. service: httpd
  6. - name: Tuning configuration installed
  7. copy:
  8. src: files/tune.conf
  9. dest: /etc/httpd/conf.d/tune.conf
  10. owner: root
  11. group: root
  12. mode: 0644
  13. notify:
  14. - restart httpd