1分钟
Windows Facts
Just as with Linux/Unix, facts can be gathered for windows hosts, which will return things such as the operating system version. To see what variables are available about a windows host, run the following:
ansible winhost.example.com -m setupNote that this command invocation is exactly the same as the Linux/Unix equivalent.
学员评价