{"id":4859,"sha1":"6194b4f8897b9e44dcb078c616d894927f7b7bfa","playbook":{"id":2753,"items":{"plays":1,"tasks":3,"results":72,"hosts":24,"files":1,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/hosts-kvm-nodes"],"listhosts":false,"subset":"all-prod","extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["RM10003.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":11,"name":"subset:all-prod"}],"started":"2025-04-14T15:15:25.632135+01:00","ended":"2025-04-14T15:15:35.202861+01:00","duration":"00:00:09.570726","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"completed","path":"/home/ssh-gateway/ansible/kuly/RM10003.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Playbook to add rules and verify them\n  hosts: all\n  gather_facts: false\n  tasks:\n    - name: Run the command\n      ansible.builtin.shell: |\n        set -o pipefail\n        #ovs-ofctl add-flow br-int \"table=3 cookie=0xFFFFFFFFFFFFFFFF priority=39900 action=normal\"\n        #ovs-ofctl add-flow br-int \"table=5 cookie=0xFFFFFFFFFFFFFFFF priority=39900 action=normal\"\n        ovs-ofctl dump-flows br-int | grep cookie=0xffffffffffffffff | egrep \"table=3|table=5\"\n      args:\n        executable: /bin/bash\n      register: result\n      changed_when: false\n      failed_when: result.rc != 0\n    - name: Print successful output\n      when: result.rc == 0\n      ansible.builtin.debug:\n        var: result.stdout\n    - name: Debug the result\n      when: result.rc != 0\n      ansible.builtin.debug:\n        msg: \"OVS Flows Verification Failed. Flows not found.\"\n","created":"2025-04-14T15:15:25.647864+01:00","updated":"2025-04-14T15:15:25.647885+01:00","path":"/home/ssh-gateway/ansible/kuly/RM10003.yaml"}