Knowledge Portal !!!!!!!!!!!!!
Saturday, June 5, 2021
Use of register and debug in Ansible
Use of register and debug in Ansible
---
- hosts: win
tasks:
- name: System date
win_command: ipconfig
register: ipconfig
- debug: var=ipconfig.stdout_lines
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment