{"id":18745788,"url":"https://github.com/moshloop/ansible-systemd-module","last_synced_at":"2025-11-23T14:30:23.779Z","repository":{"id":138334080,"uuid":"137670396","full_name":"moshloop/ansible-systemd-module","owner":"moshloop","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-29T10:21:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T20:26:31.424Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moshloop.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-17T16:44:02.000Z","updated_at":"2018-08-29T10:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"613e427f-7d81-48cf-b6b0-f244a17644d4","html_url":"https://github.com/moshloop/ansible-systemd-module","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Fansible-systemd-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Fansible-systemd-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Fansible-systemd-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Fansible-systemd-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moshloop","download_url":"https://codeload.github.com/moshloop/ansible-systemd-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627234,"owners_count":19670844,"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-07T16:19:40.605Z","updated_at":"2025-11-23T14:30:23.713Z","avatar_url":"https://github.com/moshloop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role for creating systemd services, for managing existing services use the built-in [systemd](https://docs.ansible.com/ansible/latest/modules/systemd_module.html) module.\n\n### Install\n\n```bash\nansible-galaxy ansible-galaxy install moshloop.systemd\n```\n\n### Options\n```\nOPTIONS (= is mandatory):\n= ExecStart\n= Name\n- Description\n- InstallArgs\n- RestartOn [Default: on-failure]\n- RunAs [Default: root]\n- ServiceArgs\n- UnitArgs\n- WantedBy [Default: multi-user.target]\n- state (Choices: present, absent)[Default: present]\n```\n\n### EXAMPLES:\n```yaml\n  - hosts: all\n    roles:\n      - moshloop.systemd\n    tasks:\n        - systemd_service:\n            Name: test\n            ExecStart: \"/usr/bin/nc -l 200\"\n        - systemd_service:\n            Name: test\n            ExecStart: \"/usr/bin/nc -l 200\"\n            UnitArgs:\n                After: networking.service\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshloop%2Fansible-systemd-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoshloop%2Fansible-systemd-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshloop%2Fansible-systemd-module/lists"}