summaryrefslogtreecommitdiff
path: root/lamp-stack-playbook.yml
diff options
context:
space:
mode:
authorben <ben@tailscale-router.tailf26cc2.ts.net>2026-08-26 11:00:51 -0400
committerben <ben@tailscale-router.tailf26cc2.ts.net>2026-08-26 11:00:51 -0400
commit1ba13f7d8e19a8ec8dfc62ee6ec92a69dd0f8f2f (patch)
treebb42b7e3b5f8d87b32f990e252f07e24e1b346a6 /lamp-stack-playbook.yml
initial commit
Diffstat (limited to 'lamp-stack-playbook.yml')
-rw-r--r--lamp-stack-playbook.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/lamp-stack-playbook.yml b/lamp-stack-playbook.yml
new file mode 100644
index 0000000..15b93af
--- /dev/null
+++ b/lamp-stack-playbook.yml
@@ -0,0 +1,20 @@
+---
+- name: Set up LAMP Stack on all servers
+ hosts: all
+ remote_user: root
+ tasks:
+ - name: Install Apache, MariaDB, PHP8.4
+ ansible.builtin.apt:
+ update_cache: yes
+ pkg:
+ - apache2
+ - mariadb-server
+ - php8.4
+ - name: Move Apache Config File
+ ansible.builtin.copy:
+ src: files/website_apache.conf
+ dest: /etc/apache2/sites-available/website_apache.conf
+ owner: root
+ group: root
+ mode: '0644'
+# apache2 mariadb-server php8.4