-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# ansible-telnet | ||
customize Ansible telnet module by my purpose | ||
|
||
By default, Ansible module will retrieve username/password value from playbook file: telnet block. | ||
Since the fields are supported by inventory already, and the part also was highlight, I custome it and test it. | ||
|
||
Back your file and update it to /site-packages/ansible/plugins/action/telnet.py | ||
|
||
Note: | ||
the setting: | ||
connection: local | ||
in playbook will cause ansible use you local user. |