/[pdpsoft]/trunk/egi-pilot/master-portal/ansible/roles/masterportal/tasks/dep-httpd.yml
ViewVC logotype

Diff of /trunk/egi-pilot/master-portal/ansible/roles/masterportal/tasks/dep-httpd.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2961 by tamasb, Fri Mar 18 16:29:12 2016 UTC revision 2962 by tamasb, Fri Apr 1 08:52:41 2016 UTC
# Line 18  Line 18 
18      backup: yes      backup: yes
19    notify: restart httpd    notify: restart httpd
20    
21    # replace welcome page
22    
23    - name: replace apache welcome page
24      stat:
25        path: /var/www/html/index.html
26      ignore_errors: yes
27      register: index_page
28    
29    - name: create index page
30      file:
31        path: /var/www/html/index.html
32        owner: root
33        group: root
34        mode: 0644
35        state: touch
36      when: index_page.stat.exists == false

Legend:
Removed from v.2961  
changed lines
  Added in v.2962

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28