Guest User

Untitled

a guest
Jan 18th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. - command: "hostname -I"
  2. register: IP_ADRESSS
  3. changed_when: False
  4. - firewalld:
  5. interface: eth0
  6. state: enabled
  7. permanent: yes
  8. zone: public
  9. source: {{ IP_ADDRESS.stdout }}
  10. notify: "RESTART FIREWALL"
  11.  
  12. fatal: [test-server]: FAILED! => {
  13. "changed": false,
  14. "invocation": {
  15. "module_args": {
  16. "immediate": false,
  17. "interface": "eth0",
  18. "masquerade": null,
  19. "offline": null,
  20. "permanent": true,
  21. "port": null,
  22. "rich_rule": null,
  23. "service": null,
  24. "source": "10.0.0.5 "
  25. "state": "enabled"
  26. "timeout": 0,
  27. "zone": "public"
  28. }
  29. },
  30. "msg": "ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_ADDR: 10.0.0.5 Permanent operation"
  31. }
Add Comment
Please, Sign In to add comment