title: Ansible: Extracting IP address from a CIDR( 192.168.21.x/24)
body: <p>I have a variable name something like this defined in json format.</p>
  
  <p>"zxc_address" : "192.168.21.x/24"</p>
  
  <p>and i need to extract the IP address part(192.168.21.x) using ansible(yaml code)
  what is the simple solution for that? can it be done using ansible filters. if yes then how?</p>
  
  <p>Thanks,
  VM</p>