{"id":44315533,"url":"https://github.com/fccn/ansible_pakiti_client","last_synced_at":"2026-02-11T05:08:06.997Z","repository":{"id":42057664,"uuid":"475369290","full_name":"fccn/ansible_pakiti_client","owner":"fccn","description":"ansible role to install pakiti client","archived":false,"fork":false,"pushed_at":"2025-11-05T22:19:20.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-06T00:13:36.529Z","etag":null,"topics":["ansible","pakiti"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fccn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-29T09:22:57.000Z","updated_at":"2025-11-05T22:19:25.000Z","dependencies_parsed_at":"2024-05-22T10:46:48.562Z","dependency_job_id":"ad424bf3-78b0-4161-91ad-6fe2b1493c25","html_url":"https://github.com/fccn/ansible_pakiti_client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fccn/ansible_pakiti_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fccn%2Fansible_pakiti_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fccn%2Fansible_pakiti_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fccn%2Fansible_pakiti_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fccn%2Fansible_pakiti_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fccn","download_url":"https://codeload.github.com/fccn/ansible_pakiti_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fccn%2Fansible_pakiti_client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","pakiti"],"created_at":"2026-02-11T05:08:06.938Z","updated_at":"2026-02-11T05:08:06.990Z","avatar_url":"https://github.com/fccn.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible_pakiti_client\nThis role installs the pakiti client using Ansible. \nIt has three different modes that can be activated or disabled using optional variables:\n1. install the pakiti client\n1. install a cron job that executes the client once every day at a random hour and minute\n1. executes the client\n\n## Requirements\n\nOnly ansible.\nIt was tested using ansible 2.10.\n\n## Role Variables\n\n### Required variables\n1. `pakiti_server` - pakiti server fdqn/dns\n1. `pakiti_site` - to better identify to which team a server belongs to we have to use a sort of tag\n\n### Optional variables\nThe optional variables are defined on the [defaults/main.yml](defaults/main.yml) file, open it to view the default value for each variable.\n\n1. `pakiti_install` - if role will install the pakiti software\n1. `pakiti_install_cron` - when we want to have a way to only push, we can skip the cronjob creation on the installation process\n1. `pakiti_push` - if role will execute the pakiti software that sends information to the server\n1. `pakiti_user` - the user that will be created on the server side and that will execute the pakiti client execution\n1. `pakiti_repository` - which git repository should be installed / cloned\n1. `pakiti_repository_version` - which client version should be installed\n1. `pakiti_cron_weekday`: on which weekdays the cronjob will be executed, by default every day.\n1. `pakiti_cron_hour`: on the weekdays that you chose to execute the client, you have to choose minutes and hours that you want the execution to happen\n1. `pakiti_cron_minute`: on the weekdays that you chose to execute the client, you have to choose minutes and hours that you want the execution to happen\n1. `github_repository` - git repository link that has the client installation data\n1. `pakiti_server_url` - URL that the client uses to send data\n1. `pakiti_exec` - client script that will be executed\n1. `pakiti_uninstall` - to uninstall pakiti (simply deletes the pakiti folder)\n\n## Dependencies\nOnly ansible and a way to elevate privileges to sudo or root, so that the role can install OS dependencies and create the user that will execute the client.\n\n## Example\n```jinja\n\n    roles:\n        - role: ansible_pakiti_client\n          vars: \n            pakiti_server: pakiti.example.com\n            pakiti_site: my_team\n```\n\nIf you want to only run this role without any other role, you can add `--tags pakiti` to your command line.\n\n## Development\nNotes about on how to develop this role.\n\nCreate a virtual environment, run the linters and tests\n```bash\nvirtualenv venv --python=python3\n. venv/bin/activate\npip install -r requirements/dev.txt\nmake lint\nmolecule test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffccn%2Fansible_pakiti_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffccn%2Fansible_pakiti_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffccn%2Fansible_pakiti_client/lists"}