https://github.com/darkwizard242/ansible-apache2webserver
Ansible playbooks to install or uninstall Apache2 Web Server on RedHat (CentOS) & Debian(Ubuntu) systems.
https://github.com/darkwizard242/ansible-apache2webserver
Last synced: about 1 year ago
JSON representation
Ansible playbooks to install or uninstall Apache2 Web Server on RedHat (CentOS) & Debian(Ubuntu) systems.
- Host: GitHub
- URL: https://github.com/darkwizard242/ansible-apache2webserver
- Owner: darkwizard242
- License: mit
- Created: 2018-10-17T07:42:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T22:02:29.000Z (over 3 years ago)
- Last Synced: 2025-02-07T15:32:45.359Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-apache2webserver
Contains `Ansible` playbooks to install or uninstall **Apache2** Web Server on RedHat (CentOS) & Debian(Ubuntu) systems.
## 1. Getting started:
This section contains steps to help in executing the playbooks.
### 1.1 Assumptions:
* Ansible is installed on the controller node.
* Python is installed on the controller node as well as all the nodes that you are managing with Ansible.
* A user named `ansible` has been created on controller node and nodes you are managing. Passwordless SSH has been set up between them using either `ssh-copy-id` or by having injected the public key of controller node to the managing node's user's home directory `.ssh/authorized_keys` file. If not ensure that it has been. If you are using a different user, then you will need to modify the `remote_user: ansible` keypair values to whichever user you have set up to use ansible on controller node and set up passwordless SSH with on all the nodes you are managing. For e.g. if your user for performing changes with Ansible is 'iamauser' then, change from `remote_user: ansible` to `remote_user: iamauser`