有没有办法从模块的执行中获取返回值?
例如https://docs.ansible.com/ansible/latest/modules/ec2_vpc_subnet_module.html
例如获取 vpc_id。
我正在使用 PlaybookExecutor,但它只返回执行 playbook 的状态结果。
有没有办法从模块的执行中获取返回值?
例如https://docs.ansible.com/ansible/latest/modules/ec2_vpc_subnet_module.html
例如获取 vpc_id。
我正在使用 PlaybookExecutor,但它只返回执行 playbook 的状态结果。