{"id":19349102,"url":"https://github.com/digineo/ansible-ipcalc","last_synced_at":"2025-02-24T10:18:55.618Z","repository":{"id":25351047,"uuid":"28778648","full_name":"digineo/ansible-ipcalc","owner":"digineo","description":"ipcalc filter for Ansible to calculate IPv4/IPv6 networks","archived":false,"fork":false,"pushed_at":"2015-01-04T23:37:52.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T15:18:20.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digineo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-04T16:03:03.000Z","updated_at":"2018-05-07T17:02:56.000Z","dependencies_parsed_at":"2022-07-21T20:48:56.274Z","dependency_job_id":null,"html_url":"https://github.com/digineo/ansible-ipcalc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digineo%2Fansible-ipcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digineo%2Fansible-ipcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digineo%2Fansible-ipcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digineo%2Fansible-ipcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digineo","download_url":"https://codeload.github.com/digineo/ansible-ipcalc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457988,"owners_count":19804489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T04:24:44.512Z","updated_at":"2025-02-24T10:18:55.528Z","avatar_url":"https://github.com/digineo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"IP Calc for Ansible\n===========\n\n[![Build Status](https://travis-ci.org/digineo/ansible-ipcalc.svg?branch=master)](https://travis-ci.org/digineo/ansible-ipcalc)\n\n\n## Requirements\n\nYou need a recent version of ipcalc.\nOn Debian/Ubuntu you can install it with:\n\n    sudo apt-get install python-pip\n    sudo pip install ipcalc\n\n\n## Installation\n\nCopy the file `ipcalc_filter.py` to `$ansible/filter_plugins/`\n\n\n## Usage\n\nExample usage in a jinja2 template:\n\n    {% set network = \"172.16.0.1/24\" | ipcalc %}\n    {{ network.host_min }}\n\n\n    {{ \"192.168.0.1\" | ipadd(3) }} == \"192.168.0.4\"\n    {{ \"fe80::\" | ipadd(\"::3\") }} == \"fe80::3\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigineo%2Fansible-ipcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigineo%2Fansible-ipcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigineo%2Fansible-ipcalc/lists"}