we have a script in our ansible repo in scripts/vhost-info that uses the ansible 1.9 api. We need to port it over to 2.0's api.
testing per commit: http://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=b818014
A few minor issues:
% ./vhost-info.v2 --host virthost04* [WARNING]: Failure when attempting to use callback plugin (</srv/web/infra/ansible/callback_plugins/logdetail2.CallbackModule object at 0x42efa90>): 'NoneType' object has no attribute '_file_name'
Tuesday 01 March 2016 17:23:08 +0000 (0:00:00.039) 0:00:00.039 * Tuesday 01 March 2016 17:23:08 +0000 (0:00:00.267) 0:00:00.306 * virthost04.phx2.fedoraproject.org: 128662/128662 mem(unused/total) 64/64 cpus(unused/total)
closing with happy commit: http://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=a7d6d24
Login to comment on this ticket.