{"id":37670739,"url":"https://github.com/itential/itential.platform","last_synced_at":"2026-01-16T12:03:56.512Z","repository":{"id":289740951,"uuid":"918366687","full_name":"itential/itential.platform","owner":"itential","description":"Ansible Collection for automating Itential Platform operations","archived":false,"fork":false,"pushed_at":"2025-05-01T20:08:45.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T21:23:35.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itential.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}},"created_at":"2025-01-17T19:30:41.000Z","updated_at":"2025-05-01T20:08:49.000Z","dependencies_parsed_at":"2025-04-24T20:46:09.965Z","dependency_job_id":null,"html_url":"https://github.com/itential/itential.platform","commit_stats":null,"previous_names":["itential/itential.platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itential/itential.platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itential%2Fitential.platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itential%2Fitential.platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itential%2Fitential.platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itential%2Fitential.platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itential","download_url":"https://codeload.github.com/itential/itential.platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itential%2Fitential.platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":[],"created_at":"2026-01-16T12:03:55.792Z","updated_at":"2026-01-16T12:03:56.493Z","avatar_url":"https://github.com/itential.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Collection - itential.platform\n\n## License\n\nThis project is licensed under the GPLv3 open source license.  See\n[LICENSE](LICENSE)\n\n## Setup Instructions\n\n### 1. Install Dependencies\n\nInstall all required Python packages:\n\n```bash\npip install -r requirements.txt\n```\n\n### 2. Install Itential Core Collection\n\nSince the code depends on the `itential.core` Ansible collection, install it using:\n\n```bash\nansible-galaxy collection install itential.core\n```\n\n### 3. Run Unit Tests with Coverage\n\nTo execute tests and check code coverage:\n\n```bash\ncoverage run -m pytest tests/ -v\ncoverage report -m\n```\n\nIf you encounter an error related to forks, you might have to set this environmental variable:\nexport OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES\n\n## Available Modules\n\n### Job Worker Management\n\n- **activate_job_worker**: Activate the job worker for an Itential Platform system\n\n```yaml\n- name: Activate Itential Platform job worker\n  itential.platform.activate_job_worker:\n```\n\n- **deactivate_job_worker**: Deactivate the job worker for an Itential Platform system\n\n```yaml\n- name: Deactivate Itential Platform job worker\n  itential.platform.deactivate_job_worker:\n```\n\n### Task Worker Management\n\n- **activate_task_worker**: Activate the task worker for an Itential Platform system\n\n```yaml\n- name: Activate Itential Platform task worker\n  itential.platform.activate_task_worker:\n```\n\n- **deactivate_task_worker**: Deactivate the task worker for an Itential Platform system\n\n```yaml\n- name: Deactivate Itential Platform task worker\n  itential.platform.deactivate_task_worker:\n```\n\n### System Information\n\n- **get_system_health**: Retrieve the health status of an Itential Platform system\n\n```yaml\n- name: Get Itential Platform system health\n  itential.platform.get_system_health:\n```\n\n- **get_worker_status**: Get the current status of Itential Platform workers\n\n```yaml\n- name: Get Itential Platform worker status\n  itential.platform.get_worker_status:\n```\n\n### Job and Task Management\n\n- **get_jobs**: Retrieve a list of jobs from an Itential Platform system\n\n```yaml\n- name: Get Itential Platform jobs\n  itential.platform.get_jobs:\n```\n\n- **get_tasks**: Retrieve a list of tasks from an Itential Platform system\n\n```yaml\n- name: Get Itential Platform tasks\n  itential.platform.get_tasks:\n```\n\n### System Administration\n\n- **restart_adapter**: Restart a specific adapter in the Itential Platform system\n\n```yaml\n- name: Restart Itential Platform adapter\n  itential.platform.restart_adapter:\n    adapter_name: \"my-adapter\"\n```\n\n- **restart_application**: Restart the Itential Platform application\n\n```yaml\n- name: Restart Itential Platform application\n  itential.platform.restart_application:\n```\n\n- **set_adapter_log_level**: Change the log level/transport of an adapter.\n  \n```yaml\n  - name: Restart Itential Platform application\n    itential.platform.restart_applications:\n```\n\n### Misc\n- **auth_token**: Retrieves the auth token from an Itential Platform system\n  \n```yaml\n  - name: Retrieve auth token\n    itential.platform.auth_token:\n```\n\n- **generic_request**: Makes an api reqeust given a method and endpoint\n  \n```yaml\n  - name: Retrieve authorization accounts\n    itential.platform.generic_request:\n      method: GET\n      endpoint: \"/authorization/accounts\"\n```\n\n## Module Utils\n\nThis collection includes 3 utils which are used by the action plugins.\n\n- **host**: A schema used to gather information from the ansible_task vars.\n\n- **login**: A utility that authenticates with the platform and returns the authentication token.\n\n- **request**: A utility that authenticates then constructs and sends an api request. Takes task_vars, method, endpoint, params, and data as arguments.\n\n### Connection Parameters\n\nEach module requires the following connection parameters which can be defined in your Ansible environment:\n\n- `host`: The hostname or IP of the Itential Platform instance\n- `port`: The port number for the Itential Platform API\n- `use_tls`: Whether to use HTTPS (default: true)\n- `verify`: Whether to verify SSL certificates (default: true)\n- `disable_warnings`: Whether to disable SSL warning messages (default: false)\n\nAuthentication (requires one of the following):\n\n- Option 1: Username/Password\n  - `username`: The username for authentication\n  - `password`: The password for authentication\n- Option 2: Auth Token\n  - `auth_token`: A pre-existing authentication token\n\nFor detailed documentation on each module, use the `ansible-doc` command:\n\n```bash\nansible-doc itential.platform.\u003cmodule_name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitential%2Fitential.platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitential%2Fitential.platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitential%2Fitential.platform/lists"}