From de6dbc2b8cdb88a39bcd7a641b99829d90ecfb30 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Tue, 16 Mar 2021 21:21:05 +0100 Subject: [PATCH] cleanup --- apache.yml | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 apache.yml diff --git a/apache.yml b/apache.yml deleted file mode 100644 index 99ba3f3..0000000 --- a/apache.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: install apache via ansible playbook - hosts: test - user: ansible - become: true - tasks: - - name: install apache - yum: - name: httpd - state: latest - - 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: restarted - - name: open firewall port - firewalld: - service: http - permanent: yes - immediate: yes - state: enabled - ignore_errors: yes - - name: create documentroot - file: - name: /var/www/html/orsys.fr - state: directory - - name: create index file - copy: - src: index.html - dest: /var/www/html/orsys.fr/index.html - mode: 0644 \ No newline at end of file