disable firewall

  1. check status

    ansible all -m raw -a 'chkconfig --list | grep iptables'
    ansible all -m raw -a 'service iptables status'
    
  2. disable

    ansible all -m raw -a 'service iptables stop; chkconfig iptables off'
    
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""