Last active
April 19, 2025 05:58
-
-
Save anujdevopslearn/8395705058c9cd4f4f5c3fec5591b246 to your computer and use it in GitHub Desktop.
Apache Ansible Installation Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: development | |
tasks: | |
- name: Install apache2 package | |
apt: name=apache2 update_cache=yes state=latest | |
- name: Enable Mod Rewrite | |
apache2_module: name=rewrite state=present | |
- name: Restart Service | |
service: name=apache2 state=restarted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment