{"id":20666016,"url":"https://github.com/code-egg/ansible-lomp-wp","last_synced_at":"2026-02-03T20:43:15.456Z","repository":{"id":149885704,"uuid":"291668851","full_name":"Code-Egg/ansible-lomp-wp","owner":"Code-Egg","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-30T06:10:23.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T00:34:16.118Z","etag":null,"topics":["ansible","hacktoberfest","lomp","openlitespeed","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/Code-Egg.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":"2020-08-31T09:13:47.000Z","updated_at":"2024-10-30T06:10:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f62c9dc7-cf0d-44f3-988c-57cf2a6b7f6b","html_url":"https://github.com/Code-Egg/ansible-lomp-wp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Egg/ansible-lomp-wp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Egg%2Fansible-lomp-wp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Egg%2Fansible-lomp-wp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Egg%2Fansible-lomp-wp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Egg%2Fansible-lomp-wp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Egg","download_url":"https://codeload.github.com/Code-Egg/ansible-lomp-wp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Egg%2Fansible-lomp-wp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29056744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: 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","hacktoberfest","lomp","openlitespeed","wordpress"],"created_at":"2024-11-16T19:35:01.051Z","updated_at":"2026-02-03T20:43:15.436Z","avatar_url":"https://github.com/Code-Egg.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress on Ubuntu 24.04 LOMP \n[![Build Status](https://travis-ci.com/Code-Egg/ansible-lomp-wp.svg?branch=master)](https://github.com/Code-Egg/ansible-lomp-wp)\n\nThis playbook will install a WordPress website on top of a LOMP environment (Linux, OpenLiteSpeed, MySQL and PHP) on an Ubuntu machine. A virtualhost will be created with the options specified in the vars/default.yml variable file.\n\n## Running this Playbook\n### 1. Install Ansible\n1. Install ansible on center server\n```\napt update \u0026\u0026 apt install ansible -y\n```\n2. Add SSH key to the client server so center server can ssh in without password\n### 2. Obtain the playbook\nDownload the git repo\n```\ngit clone https://github.com/Code-Egg/ansible-lomp-wp.git\ncd ansible-lomp-wp\n```\n### 3. Customize Options\nUpdate `example.com` from inventory to your client server's domain/IP\n```\nvim inventory\n```\n\nUpdate SQL, Domain, Port from vars/default.yml\n```\nvim vars/default.yml\n```\n```yml\n---\n# System Settings\nowner: www-data\ngroup: www-data\n\n#PHP Settings\nphp_version: \"83\"\nphp_dversion: \"8.3\"\nphp_opt_modules: [ 'lsphp{{ php_version }}-curl', 'lsphp{{ php_version }}-imagick', 'lsphp{{ php_version }}-intl', 'lsphp{{ php_version }}-opcache', 'lsphp{{ php_version }}-memcached', 'lsphp{{ php_version }}-tidy' ]\nphp_memory_limit: \"256\"\nphp_max_execution_time: \"60\"\nphp_upload_max_filesize: \"256M\"\nphp_post_max_size: \"256M\"\n\n#MySQL Settings\nmysql_root_password: \"mysql_root_password\"\nmysql_db: \"wordpress\"\nmysql_user: \"egguser\"\nmysql_password: \"password\"\n\n#HTTP Settings\nhttp_host: \"your_domain\"\nhttp_port: \"80\"\nhttps_port: \"443\"\ndoc_root: \"/var/www/{{ http_host }}\"\nssl_key: \"/usr/local/lsws/admin/conf/webadmin.key\"\nssl_crt: \"/usr/local/lsws/admin/conf/webadmin.crt\"\n```\n### 4. Run ansible playbook\n```command\nansible-playbook playbook.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-egg%2Fansible-lomp-wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-egg%2Fansible-lomp-wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-egg%2Fansible-lomp-wp/lists"}