{"id":48540189,"url":"https://github.com/sncegroup/digital-ocean-lamp-playbook","last_synced_at":"2026-04-08T04:01:56.811Z","repository":{"id":16190384,"uuid":"18937006","full_name":"SnceGroup/digital-ocean-lamp-playbook","owner":"SnceGroup","description":"Ansible playbook to provision (LAMP) a Digital Ocean instance","archived":false,"fork":false,"pushed_at":"2015-02-08T14:25:06.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T04:35:20.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/SnceGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-19T08:23:47.000Z","updated_at":"2018-04-29T12:16:38.000Z","dependencies_parsed_at":"2022-08-29T18:40:18.982Z","dependency_job_id":null,"html_url":"https://github.com/SnceGroup/digital-ocean-lamp-playbook","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SnceGroup/digital-ocean-lamp-playbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fdigital-ocean-lamp-playbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fdigital-ocean-lamp-playbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fdigital-ocean-lamp-playbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fdigital-ocean-lamp-playbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnceGroup","download_url":"https://codeload.github.com/SnceGroup/digital-ocean-lamp-playbook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fdigital-ocean-lamp-playbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-04-08T04:01:52.763Z","updated_at":"2026-04-08T04:01:56.798Z","avatar_url":"https://github.com/SnceGroup.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Digital Ocean Ansible provisioning\n\n##Instructions\n\n###Install Ansible via Homebew (MacOS)\n```shell\nbrew install ansible\n```\n\n###Install dopy\n```shell\nsudo easy_install pip\nsudo pip install dopy\n```\n###Discover Digital Ocean internal ids (sizes, regions, images, ssh_keys)\n\n```shell\n$ export DO_CLIENT_ID=YOUR DIGITAL OCEAN CLIENT ID\n$ export DO_API_KEY=YOUR DIGITAL OCEAN API KEY\n$ chmod +x do.sh\n$ ./do.sh\n```\n####Output (regions example)\n```json\n{\n    \"regions\": [\n        {\n            \"id\": 3,\n            \"name\": \"San Francisco 1\",\n            \"slug\": \"sfo1\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"New York 2\",\n            \"slug\": \"nyc2\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Amsterdam 2\",\n            \"slug\": \"ams2\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Singapore 1\",\n            \"slug\": \"sgp1\"\n        }\n    ],\n    \"status\": \"OK\"\n}\n```\nGrab the ids that you need\n\n###Update the correct DO values in playbook/vars/do.yml\n\n```yml\ndo_client_id: yourclientid\ndo_api_key: yourapikey\ndo_ssh_key_ids: yourid1, yourid2 #Comma separated list\ndo_image_id: 3240850 #Centos 6.5 x64\ndo_size_id: 66 #512MB - 20GB 1CPU\ndo_region_id: 5 #ams2\n```\n\n###Variables values\nChange variables values according to your needs in .yml files inside the /vars folder\n\n###Run Ansible playbook\n```shell\n$ ansible-playbook -i local playbook/provisioning.yml\n```\n\n##Miscellaneous info\n* A standard [eZ Publish 5.x](http://doc.ez.no) Vhost will be added during the HTTPD installation (The ServerName is specified inside the /playbook/vars/apache.yml config file)\n* Last [Composer](http://getcomposer.com) package will be installed by default\n* PHP packeges are splitted in 2 groups to avoid ansible/yum hanging\n\n##Installed applications\n* libselinux-python\n* python-pip\n* boto\n* git\n* vim\n* wget\n* htop\n* zip\n* unzip\n* telnet\n* ntp\n* ImageMagick\n* ImageMagick-devel\n* ImageMagick-perl\n* httpd\n* php (5.5.x)\n* php-cli\n* php-common\n* php-devel\n* php-gd\n* php-mbstring\n* php-pdo\n* php-pecl-apc\n* php-xml\n* php-curl\n* php-imagick\n* php-intl\n* php-memcache\n* php-mcrypt\n* php-mhash\n* php-mysqlnd\n* php-xsl\n* composer\n* mysql-community-server (5.6.x)\n* mysql\n* MySQL-python\n* memcached (1.4.x)\n* node.js\n* npm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Fdigital-ocean-lamp-playbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsncegroup%2Fdigital-ocean-lamp-playbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Fdigital-ocean-lamp-playbook/lists"}