{"id":41453807,"url":"https://github.com/senorsmile/ansible-docker_deploy","last_synced_at":"2026-01-23T15:33:32.980Z","repository":{"id":149595209,"uuid":"82764434","full_name":"senorsmile/ansible-docker_deploy","owner":"senorsmile","description":"An opinionated Ansible role to to deploy multi environment single node application stacks","archived":false,"fork":false,"pushed_at":"2024-08-18T22:32:56.000Z","size":33,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-18T23:35:34.341Z","etag":null,"topics":["ansible","ansible-role","docker"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/senorsmile.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}},"created_at":"2017-02-22T05:28:43.000Z","updated_at":"2024-08-18T22:33:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"e171aae9-79a1-4180-8446-154e21c88aa1","html_url":"https://github.com/senorsmile/ansible-docker_deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/senorsmile/ansible-docker_deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorsmile%2Fansible-docker_deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorsmile%2Fansible-docker_deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorsmile%2Fansible-docker_deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorsmile%2Fansible-docker_deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senorsmile","download_url":"https://codeload.github.com/senorsmile/ansible-docker_deploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorsmile%2Fansible-docker_deploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","ansible-role","docker"],"created_at":"2026-01-23T15:33:32.781Z","updated_at":"2026-01-23T15:33:32.966Z","avatar_url":"https://github.com/senorsmile.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker_deploy\n\n## example configuration\n\n```yaml\n  #--------------------\n  # EXAMPLE APP WITH ALL FEATURES\n  #--------------------\n  appname_docker_apps:\n    - name: app_name\n    \n      externally_changed: \"{{ conf_changed }}\" \n                             #externally_changed forces a restart of the app\n                             #this is usually called from another role for \"inter role comm\"\n    \n      app_version: 'v1'      #only use app_version OR app_env, NEVER both\n                             #bare app_version is used if environments NOT desired\n    \n      app_env:\n        integ:\n          app_version: 'v1'\n        staging:\n          app_version: 'v2'\n        prod:\n          app_version: 'v3'\n        prod_dc2:\n          app_version: 'v4'\n          image: 'hub.example.com/app_name2' #OPTIONAL, overrides the default image name below\n        prod_disabled:\n          ## set both to disabled to disable this container\n          ## for this specific environment\n          app_version: 'disabled'\n          image:       'disabled'  \n\n      pull_containers: True    #OPTIONAL: set to false to NOT pull containers\n                               # this assumes that you've manually pulled the images\n      docker:\n        image: 'hub.example.com/app_name'\n        state: present         #OPTIONAL\n                               #DEFAULT: started\n                               #CHOICES: [ absent, present, reloaded, started ]\n        restart_policy: 'no'   #OPTIONAL\n                               #recommended to set to 'no' if state: present\n                               #CHOICES: [ \"no\", \"on-failure\", \"always\", \"unless-stopped\" ]\n        command: 'run'         #OPTIONAL\n        log_driver: 'syslog'   #OPTIONAL\n        log_options:           #OPTIONAL\n          tag: app_name        \n        expose:                #OPTIONAL\n          - 8080\n        ports:                 #OPTIONAL\n          - '8080:8080'\n        volumes:               #OPTIONAL\n        env:                   #OPTIONAL environment variables to inject\n          PORT: '8080'\n```\n\n## example role call\n\n```yaml\n  - role: docker_deploy\n    docker_apps:     \"{{ appname_docker_apps }}\"\n    docker_apps_env: \"{{ appname_node_env }}\"\n    tags:\n      - docker_deploy\n      - appname\n\n```\n\nThen, in your inventory:\n\n```yaml\nprodgroup:\n  vars:\n    appname_node_env: 'prod'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorsmile%2Fansible-docker_deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenorsmile%2Fansible-docker_deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorsmile%2Fansible-docker_deploy/lists"}