{"id":18678706,"url":"https://github.com/danihodovic/ansible-samson","last_synced_at":"2026-04-10T20:51:50.442Z","repository":{"id":51127922,"uuid":"169553016","full_name":"danihodovic/ansible-samson","owner":"danihodovic","description":"Ansible modules for Samson","archived":false,"fork":false,"pushed_at":"2021-05-22T08:30:40.000Z","size":148,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T21:33:52.765Z","etag":null,"topics":["ansible","ansible-module","ansible-role","automation","deployments","samson"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/danihodovic.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}},"created_at":"2019-02-07T10:17:33.000Z","updated_at":"2021-01-06T14:26:48.000Z","dependencies_parsed_at":"2022-09-13T22:10:25.607Z","dependency_job_id":null,"html_url":"https://github.com/danihodovic/ansible-samson","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/danihodovic%2Fansible-samson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fansible-samson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fansible-samson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fansible-samson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danihodovic","download_url":"https://codeload.github.com/danihodovic/ansible-samson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239530212,"owners_count":19654250,"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":["ansible","ansible-module","ansible-role","automation","deployments","samson"],"created_at":"2024-11-07T09:41:09.301Z","updated_at":"2025-11-07T12:30:44.231Z","avatar_url":"https://github.com/danihodovic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible modules for Samson\n\n![Build Status](https://travis-ci.org/danihodovic/ansible-samson.svg?branch=master)\n\nThis role contains modules to simplify working with\n[Samson](https://github.com/zendesk/samson).\n\nIt supports:\n\n- environments\n- deploy groups\n- projects\n- stages\n- commands\n\n### Installation\n```\nansible-galaxy install danihodovic.samson\n```\n\n### Example Playbook\n\n```yml\n---\n- name: Samson\n  hosts: localhost\n  roles:\n    - danihodovic.samson\n  vars:\n    samson_url: https://samson.mycompany.org\n    # Hide this in the Ansible vault or pass it through the environment instead\n    # of checking it in as plaintext\n    samson_token: 967c19e2e223682d232935661f0675b0ddd4930f9e77ce32cad51bc65b24bbbc\n  tasks:\n    - name: Create dotfiles project\n      register: project\n      samson_project:\n        url: '{{ samson_url }}'\n        token: '{{ samson_token }}'\n        permalink: dotfiles\n        name: dotfiles\n        repository_url: https://github.com/danihodovic/.dotfiles\n\n    - name: Create deployment command\n      register: command\n      samson_command:\n        url: '{{ samson_url }}'\n        token: '{{ samson_token }}'\n        project_id: '{{ project.project.id }}'\n        command: |\n          echo \"deploying my project!\"\n\n    - name: Create staging\n      samson_stage:\n        url: '{{ samson_url }}'\n        token: '{{ samson_token }}'\n        name: staging\n        permalink: staging\n        project_permalink: '{{ project.project.permalink }}'\n        command_ids:\n          - '{{ command.command.id }}'\n```\n\nLicense\n-------\n\nMIT\n\n### Author Information\n\nThis role is created and maintained by Dani Hodovic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanihodovic%2Fansible-samson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanihodovic%2Fansible-samson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanihodovic%2Fansible-samson/lists"}