From e37afec5a6871cca67c55a8eccad062c50664366 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Tue, 16 Mar 2021 22:14:53 +0100 Subject: [PATCH] foo --- apache.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/apache.yml b/apache.yml index 7d8b597..518f699 100644 --- a/apache.yml +++ b/apache.yml @@ -8,35 +8,8 @@ name: httpd state: present - - name: conf httpd - template: - src: vhost.conf - dest: /etc/httpd/conf.d/vhost.conf - mode: 0640 - owner: root - group: apache - - name: activate apache service: name: httpd enabled: yes - state: started - - - name: open firewall port - firewalld: - service: http - permanent: yes - immediate: yes - state: enabled - ignore_errors: true - - - name: create documentroot - file: - name: /var/www/html/example.org/ - state: directory - - - name: copy index file - template: - src: index.txt - dest: /var/www/html/example.org/index.html - mode: 0644 \ No newline at end of file + state: started \ No newline at end of file