-设置i变量declare @i int --设置j变量declare @j int --设置乘法表变量declare @chengfabiao varchar(1000)--给i,j,@chengfabiao赋初始值select @i=9,@j=1,@chengfabiao=''--使用whIle循环语句和变量打印九九乘法表while @i>=1begin set @j=@i while @j>=1 begin select @chengfabiao=convert(char(2),@j)+
- name: Print debug infomation eg hosts: test2 gather_facts: F tasks: - name: Command run line shell: date register: result - name: Show debug info debug: var=result.stdout verbosity= ansible playbook可以将多个命令组合来执行,但是很多时候我们需要接收服务器的反馈,所以debug模块就非常重要了. 模