From 1ba13f7d8e19a8ec8dfc62ee6ec92a69dd0f8f2f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 26 Aug 2026 11:00:51 -0400 Subject: initial commit --- lamp-stack-playbook.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lamp-stack-playbook.yml (limited to 'lamp-stack-playbook.yml') 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 -- cgit v1.2.3