互联网服务Ansible

返回jayciedede的回答

jayciededejayciedede技术经理安图特(北京)科技有限公司
  • shell: "ping -c 1 {{item}} | grep icmp_seq | gawk -F'[()]' '{print $2}'"

with_inventory_hostnames: test2

register: testip

  • debug: "msg={{ item.stdout }}"

with_items: "{{ testip.results }}"

互联网服务 · 2019-12-27
浏览2626

回答者

jayciedede
技术经理安图特(北京)科技有限公司
擅长领域: 系统运维监控数据库

jayciedede 最近回答过的问题

回答状态

  • 发布时间:2019-12-27
  • 关注会员:2 人
  • 回答浏览:2626
  • X社区推广