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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment