16:02:03 #startmeeting Ansible Network Meeting 16:02:03 Meeting started Wed Dec 13 16:02:03 2017 UTC. The chair is gundalow. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:02:03 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:02:03 The meeting name has been set to 'ansible_network_meeting' 16:02:11 * Qalthos 🌊🌊 16:02:22 #info Agenda https://github.com/ansible/community/labels/network 16:02:31 #chair Qalthos jmcgill298 Anil privateip 16:02:31 Current chairs: Anil Qalthos gundalow jmcgill298 privateip 16:02:50 o/ 16:04:38 * kedarX waves 16:05:59 #chair trishnag kedarX 16:05:59 Current chairs: Anil Qalthos gundalow jmcgill298 kedarX privateip trishnag 16:07:20 o/ 16:10:00 Sorry, I'm in two meetings at once 16:10:04 #topic Open Floor 16:10:10 #chair caphrim007 16:10:10 Current chairs: Anil Qalthos caphrim007 gundalow jmcgill298 kedarX privateip trishnag 16:10:42 Agenda just has one PR to review and merge, which will we look at offline 16:11:16 Thats fine. 16:11:29 #info the "cast_type" filter (new in 2.5) has been renamed to rekey_on_member see https://github.com/ansible/ansible/pull/33836 16:11:57 #info Partners webinar on Monday, if you don't have an invite please ping gundalow 16:14:08 o/ 16:15:13 #info 2.5 Cut off dates on https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/roadmap/ROADMAP_2_5.rst 16:15:51 #info Core Engine Freeze and Module Freeze: 15 January 2018 16:18:23 #chair samerd ogenstad 16:18:23 Current chairs: Anil Qalthos caphrim007 gundalow jmcgill298 kedarX ogenstad privateip samerd trishnag 16:19:17 Anyone got anything? 16:19:56 Hi gundalow 16:21:30 Hi 16:21:43 Nothing on the agenda, so if anyone has anything feel free to speak up 16:21:50 samerd: How you getting on? 16:22:40 gundalow: every thing is going fine, I had a break last week, and got back this week 16:22:56 I pushed another module yesterday 16:23:19 after merge I will push the rest of the modules 16:23:36 I just need to write some unit-tests 16:24:32 Can i discuss some thing related to ansible command and its usage with lenovo enos device ? 16:24:40 Anil: Sure 16:25:20 When I tried this command 16:25:22 root@SSRB-Ansible:/home/ansible/sheru/ansible# ansible enos -m raw -a "show sys-info" 10.241.105.24 | FAILED | rc=-1 >> Lenovo RackSwitch G8272 16:25:37 ansible enos -m raw -a "show sys-info" 16:26:02 I get result as 10.241.105.24 | FAILED | rc=-1 >> 16:26:11 While i tried like 16:26:47 inventory file looks like this 16:26:56 [enos] 10.241.105.24 ansible_connection=paramiko ansible_ssh_user=admin ansible_ssh_pass=admin 16:27:29 when I put connection = paramiko it succeeds 16:27:34 * ganeshrn waves 16:27:40 I mean it fetches data 16:28:22 but when I put raw or network_cli or local. It fails 16:28:50 Anil: Have you updated the modules to support network_cli? 16:29:15 yes.. Its working now as network _cli only 16:29:32 Generally you should get a message when you use a connection other than local or network_cli telling you to use the correct connection type 16:30:11 yes. But network_cli is not in list for ansible command 16:30:25 not even local 16:30:45 only raw, shell and paramiko are supported 16:31:25 Any one tried to configure a one liner CLI using ansible command ? 16:32:22 ansible -m vyos_command -a 'commands=?' -u vyos -i vyos-1-1-0, -e 'ansible_host=ec2-34-232-64-116.compute-1.amazonaws.com ansible_port=22 ansible_connection=local ansible_ssh_private_key_file=test/cache/id_rsa' vyos-1-1-0 16:32:26 I've done things like that before 16:33:32 yes..thats not working now, may be only for lenovo switches 16:33:44 I just wanted to know correct usage 16:35:00 Anil: is there a action plugin for enos modules 16:35:17 yes.. its there.. 16:35:25 generally connection=local for network modules is handled in action plugin 16:36:18 ok 16:36:54 ok.. I will try that way. 16:36:58 Anil: I'd ignore raw, not sure if that would be the right thing anyway 16:38:09 so this concept of action plugin etc works for not only for ansible-playbook command but also for ansible command too.. right 16:38:25 yes 16:38:44 I will put debug logs and try then..Thanks for giving me pointers 16:38:44 it works for 'tasks' does not matter if you run from ansible/ansible-playbook/ansible-console 16:39:15 when u make a one liner command with ansible.. there is no tasks there 16:41:39 In case u guys can try out one "show run" command and post it to me.. it will be realy helpful 16:48:28 Ok.. Thats all. You can continue with other topics 16:49:52 Don't think there is anything else 16:50:08 Anil: Could you please ping me an email and I'll reply with details later 16:50:13 so I don't forget 16:50:17 Thanks everyone 16:50:18 #endmeeting