/[pdpsoft]/trunk/egi-pilot/robotCA/DS/ansible/roles/cafrontend/tasks/access.yml
ViewVC logotype

Diff of /trunk/egi-pilot/robotCA/DS/ansible/roles/cafrontend/tasks/access.yml

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

revision 2925 by msalle, Mon Mar 21 08:15:28 2016 UTC revision 2926 by msalle, Wed Mar 23 11:33:28 2016 UTC
# Line 1  Line 1 
1  ---  ---
2    
 # Iptables Setup  
   
 - name: add iptables config  
   template:  
     src: iptables.j2  
     dest: "/etc/sysconfig/iptables"  
     owner: "root"  
     group: "root"  
     mode: 0600  
     backup: yes  
   notify: restart iptables  
 #  register: iptables_config  
   
 #- name: restart iptables  
 #  service: name=iptables state=restarted enabled=yes  
 #  when: iptables_config.changed  
   
 - name: add ip6tables config  
   template:  
     src: ip6tables.j2  
     dest: "/etc/sysconfig/ip6tables"  
     owner: "root"  
     group: "root"  
     mode: 0600  
     backup: yes  
   notify: restart ip6tables  
 #  register: ip6tables_config  
   
 #- name: restart ip6tables  
 #  service: name=ip6tables state=restarted enabled=yes  
 #  when: ip6tables_config.changed  
   
 #- name: restart networking  
 #  service: name=network state=restarted enabled=yes  
 #  when: iptables_config.changed or ip6tables_config.changed  
   
3  # Configure access to machine with authconfig  # Configure access to machine with authconfig
4    
5  - name: add access.conf file  - name: add access.conf file

Legend:
Removed from v.2925  
changed lines
  Added in v.2926

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