Fix example in iptables module (#54906)

In the documentation the rule_num parameter works only in conjunction with `action` set to `insert` - fix the example with the rule_num parameter.

+label: docsite_pr
This commit is contained in:
Stefano Zilli 2019-04-05 21:23:59 +02:00 committed by Alicia Cozine
parent 098e0afbd5
commit fa21e0c3db

View file

@ -399,6 +399,7 @@ EXAMPLES = r'''
protocol: tcp protocol: tcp
destination_port: 8080 destination_port: 8080
jump: ACCEPT jump: ACCEPT
action: insert
rule_num: 5 rule_num: 5
- name: Set the policy for the INPUT chain to DROP - name: Set the policy for the INPUT chain to DROP