Ansible—— 29. 通过set_fact模块定义变量_ansbile set_fast-CSDN博客

网站介绍:文章浏览阅读4.7k次。set_fact模块可以在tasks中定义变量---- hosts: test70 remote_user: root vars: testvar1: test1_string tasks: - shell: "echo test2_string" register: shellreturn - set_fact: testsf1: "{{tes..._ansbile set_fast