Yes, it is every playbook.
Ex:
---
- name: List virtual
hosts: f5
connection: local
vars:
provider:
server: "localhost"
user: "<>"
password: "<>"
server_port: <>
validate_certs: no
tasks:
- name: Retrieve LTM pool list
bigip_command:
commands:
- tmsh -c "list ltm pool"
provider: "{{ provider }}"
register: ltm_pool_list
- name: Display LTM pool list
debug:
var: ltm_pool_list.stdout_lines
Inventory:
[f5]
<Ip>
[f5:vars]
ansible_ssh_common_args='-o StrictHostKeyChecking=no -J <user>@localhost:<port>'
-Yes, curl and ssh from jumphost towards F5 works