Changing prod config according to what it should be.
Dev

Dev commited on 2018-06-17 09:20:11
Showing 1 changed files, with 10 additions and 7 deletions.

... ...
@@ -10,17 +10,20 @@
10 10
     desired_state: installed
11 11
 
12 12
 - files:
13
-  - path: /tmp/hello_world.php
14
-    owner: apache2
15
-    group: apache2
16
-    mode: 0644
17
-    local_file: hello_world.php
13
+  - path: /var/www/html/index.php
14
+    owner: root
15
+    group: root
16
+    mode: '0664'
17
+    local_file: resources/hello_world.php
18 18
     desired_state: present
19 19
 
20
+  - path: /var/www/html/index.html
21
+    desired_state: absent
22
+
20 23
 - services:
21 24
   - name: apache2
22 25
     dependencies:
23 26
     - packages:
24
-      - name: libapache2-mod-php5
27
+      - name: libapache2-mod-php
25 28
     - files:
26
-      - path: /tmp/hello_world.php
29
+      - path: /var/www/html/index.php
27 30