summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-05-24 15:02:08 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-05-24 15:02:08 +0000
commit8d77babd27fbb8aab9b81a6b2d37368a53f43bed (patch)
tree4a1fb9e3eb6821aa98518afa11d77cf54149790a
parenta02f4096fcd7487865418737e4462ebc381f5649 (diff)
downloadansible-8d77babd27fbb8aab9b81a6b2d37368a53f43bed.tar.gz
ansible-8d77babd27fbb8aab9b81a6b2d37368a53f43bed.tar.xz
ansible-8d77babd27fbb8aab9b81a6b2d37368a53f43bed.zip
add commented examples and test examples on kernel-qa
-rw-r--r--inventory/group_vars/all9
-rw-r--r--inventory/group_vars/kernel-qa7
2 files changed, 14 insertions, 2 deletions
diff --git a/inventory/group_vars/all b/inventory/group_vars/all
index 64c610a97..45d9b0852 100644
--- a/inventory/group_vars/all
+++ b/inventory/group_vars/all
@@ -1,2 +1,9 @@
---
-freezes: true \ No newline at end of file
+freezes: true
+# example of ports for default iptables
+# tcp_ports: [ 22, 80, 443 ]
+# udp_ports: [ 110, 1024, 2049 ]
+# custom_rules: [ '-A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT',
+ '-A INPUT -p tcp -m tcp --dport 8889 -j ACCEPT' ]
+
+
diff --git a/inventory/group_vars/kernel-qa b/inventory/group_vars/kernel-qa
index 35fcf1b7a..5ff216a35 100644
--- a/inventory/group_vars/kernel-qa
+++ b/inventory/group_vars/kernel-qa
@@ -4,5 +4,10 @@ resolvconf: $files/resolv.conf/phx2
rsyslogconf: $files/rsyslog/rsyslog.conf.phx2
fas_client_groups: sysadmin-kernel
sudoers: $private/files/sudo/kernel-qa
-tcp_ports: [23, 25, 80, 8888]
+tcp_ports: [ 22, 80, 443 ]
+udp_ports: [ 110, 1024, 2049 ]
+custom_rules: [ '-A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT',
+ '-A INPUT -p tcp -m tcp --dport 8889 -j ACCEPT' ]
+
+