Paul Belanger
94e007ed77
ansible-test: use become for connection=local on ios_user ( #56960 )
...
ios_user requires escalated privledges, rather then doing this in the
inventory, we can just add it into the playbook tasks.
Also add missing provider settings for authorize.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-05-28 17:38:36 +05:30
Nilashish Chakraborty
d729614d72
Add support for hashed password ( #49464 )
...
* Add support for hashed password
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix Shippable errors
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Make pwd options mutually exclusive
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2018-12-12 22:22:15 +05:30
Nilashish Chakraborty
baae7fa9ba
Fix ios_user not able to handle certain scenario ( #47656 )
...
* added support for users with password(not secret) configs
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Added example
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix typo
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix pep8
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add integration tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2018-10-31 16:51:46 +05:30
Nilashish Chakraborty
0f268e70a1
Fix ios_user issues ( #44904 )
...
* Fix ios_user issues
* Modify regex and fix unittests
2018-08-31 11:08:46 +05:30
Matej Vadnjal
7c318d4e30
ios_user module - implement sshkey option ( #38782 )
...
* ios_user module - add sshkey support
* ios_user - Add version_added to sshkey option
* ios_user - pep8 indentation fixes in unit tests
* ios_user - use b64decode method that works on python 2 and 3
2018-07-19 10:28:52 -04:00
Nathaniel Case
f3337e1fba
ios test changes ( #35510 )
...
* Fix over-byte
* Update ios tests to call `provider`
To continue to support testing `connection: local`
* Fix command dict handling in ios_user
* Clean up unit tests, too
2018-02-02 09:50:15 -05:00
Nathaniel Case
5f215337c9
Swap how become is specified for ios integration tests ( #34107 )
2017-12-20 14:05:16 -05:00
Nathaniel Case
cb1b705218
ios integration tests to network_cli ( #33920 )
...
* Preliminary steps
* Fix Python3 network_cli ios
* Add connection to debug strings
* Fix ios confirm prompt by way of optional newline
Also update ios_user delete tests
2017-12-20 09:03:29 -05:00
Ganesh Nalawade
65ab37cbd3
Remove provider from ios integration test ( #31037 )
...
* Remove provider from each task as it is not required.
* Add `authorize: yes` whereever required
2017-09-28 15:23:52 +05:30
Abhijeet Kasurde
8f6626bd8f
Misc typo corrections
...
Fix adds correction for typos
* Anisble to Ansible
* Fasle to False
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-09-09 10:25:50 -07:00
David Newswanger
a37c5e53e6
fix prompt error when deleting ios user ( #28175 )
...
* fix prompt error when deleting ios user
* placate pep8
* wrap delete user command in function
* fix python 3 unit tests
2017-08-16 15:15:41 +05:30
David Newswanger
8643e9cb34
changed collection arg to argregate on 2.4 network modules ( #26649 )
...
* changed collection arg to argregate on 2.4 network modules
* replace users with aggregate in eos_user, junos_user, nxos_user
* added version_added to places where we replaced users with aggregate in the docs
* fix ios_static_route test
* update tests to reference aggregate instead of collection/users
2017-07-26 10:09:17 -04:00
Trishna Guha
41f6f8f410
Idempotent behaviour in ios_user integration test ( #25774 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-16 11:58:06 +05:30
Trishna Guha
91e5fce90f
Add ios_user implementation module ( #25413 )
...
* Add ios_user module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for ios_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add unit test for ios_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-09 13:50:57 +05:30