{"id":24758875,"url":"https://github.com/wesleych3n/ntu-iot-server","last_synced_at":"2026-04-08T23:34:40.216Z","repository":{"id":105034932,"uuid":"401574242","full_name":"WesleyCh3n/NTU-IoT-Server","owner":"WesleyCh3n","description":"NTU BBALB dairy cow face monitoring project. Server setting.","archived":false,"fork":false,"pushed_at":"2021-09-30T10:31:49.000Z","size":7592,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T04:50:33.269Z","etag":null,"topics":["ansible","automation","docker-compose","grafana","influxdb","k3s","mqtt","telegraf","wireguard"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WesleyCh3n.png","metadata":{"files":{"readme":"README.init.ansible.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}},"created_at":"2021-08-31T04:40:55.000Z","updated_at":"2025-06-23T08:05:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0487be2-105d-436e-9f7c-4a3462ab86ab","html_url":"https://github.com/WesleyCh3n/NTU-IoT-Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WesleyCh3n/NTU-IoT-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyCh3n%2FNTU-IoT-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyCh3n%2FNTU-IoT-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyCh3n%2FNTU-IoT-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyCh3n%2FNTU-IoT-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WesleyCh3n","download_url":"https://codeload.github.com/WesleyCh3n/NTU-IoT-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyCh3n%2FNTU-IoT-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","automation","docker-compose","grafana","influxdb","k3s","mqtt","telegraf","wireguard"],"created_at":"2025-01-28T16:39:37.522Z","updated_at":"2026-04-08T23:34:40.199Z","avatar_url":"https://github.com/WesleyCh3n.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Installation\n\n[![WesleyCh3n - NTU-IoT-Server](https://img.shields.io/badge/WesleyCh3n-NTU--IoT--Server-2ea44f?logo=github)](https://github.com/WesleyCh3n/NTU-IoT-Server) [![hackmd-github-sync-badge](https://hackmd.io/MEZ7JLrfQ12e8LU3UdwsBQ/badge)](https://hackmd.io/MEZ7JLrfQ12e8LU3UdwsBQ)\n\n\u003ccenter\u003e\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/2/24/Ansible_logo.svg\" alt=\"logo\"\u003e\n\u003c/center\u003e\n\n## Installation\n\nUsing python virtual environment (`virtualenv`).\n```bash\npython3 -m virtualenv ansible  # Create a virtualenv\nsource ansible/bin/activate   # Activate the virtual environment\npython3 -m pip3 install ansible\n```\n\n## Preparation\n\n### `ansible.cfg`\n\n```cfg\n[defaults]\ninventory = ./host_vars/hosts.ini # TODO: select host path\nstdout_callback = yaml\nbin_ansible_callbacks = True\nhost_key_checking = False\n```\n\n### `host_vars/hosts.ini`\n\n- TODO: replace the node host ip and the correct path of ssh key for ssh into node.\n\n```cfg\n[node]\nNODE01 NUM=01 ansible_host=10.112.0.2 ansible_user=pi ansible_ssh_private_key_file=\u003creplaced\u003e\nNODE02 NUM=02 ansible_host=10.112.0.3 ansible_user=pi ansible_ssh_private_key_file=\u003creplaced\u003e\nNODE03 NUM=03 ansible_host=10.112.0.4 ansible_user=pi ansible_ssh_private_key_file=\u003creplaced\u003e\nNODE04 NUM=04 ansible_host=10.112.0.8 ansible_user=pi ansible_ssh_private_key_file=\u003creplaced\u003e\nNODE05 NUM=05 ansible_host=10.112.0.9 ansible_user=pi ansible_ssh_private_key_file=\u003creplaced\u003e\n\n[all:vars]\nansible_python_interpreter=/usr/bin/python3\n```\n\n### `host_vars/vars.yml`\n\n```yaml\nversion: \"4.0.3\" # ntu-iot-node program version\n\n# you can add your variable as you widh\n```\n\n###### tags: `ansible`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleych3n%2Fntu-iot-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleych3n%2Fntu-iot-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleych3n%2Fntu-iot-server/lists"}