-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme, fix setup.sh and remove commented code from apache con…
…fig template
- Loading branch information
1 parent
bd6559a
commit 7157841
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,36 @@ | ||
# Set up a web server | ||
My Vagrant file + Ansible files | ||
<b>WIP. Do not rely on this on prod servers </b> | ||
|
||
## Setup | ||
### Fetching the raw project files | ||
```shell | ||
curl https://raw.githubusercontent.com/peeperklip/ansibles/master/bin/setup.sh | bash | ||
``` | ||
|
||
### Clone of the project files | ||
```shell | ||
[email protected]:peeperklip/ansibles.git | ||
``` | ||
### Fork on GitHub | ||
In case you want to contribute commits | ||
* Create a fork on GitHub | ||
* Clone your fork locally | ||
|
||
## Documentation | ||
### Playbooks: | ||
* ... | ||
* playbooks/apt_upgrade.yml | ||
* Used for the basic system maintenance | ||
* playbooks/create_webserver.yml | ||
* sets up an NGINX or Apache2 webserver | ||
* playbooks/demo_file.yml | ||
* deploys a symfony demo project (Will be deleted in the near future) | ||
|
||
### Roles: | ||
* ... | ||
most roles will have their actions prefixed in their name with what they do en end with | ||
|
||
### Misc: | ||
* ... | ||
* inventory/inventory.dist is an example inventory file meant to be copied and filled in | ||
* inventory/vagrant_demo_inventory is used if you're testing these files using vagrant | ||
|
||
### Available playbooks: | ||
- Unzip | ||
|
@@ -39,7 +55,7 @@ If you are working locally using vagrant, you need to add the line below to `/et | |
``` | ||
192.168.33.10 vagrant.local | ||
``` | ||
The box required is: ubuntu 20.04 | ||
The default box expected is ubuntu 20.04 | ||
|
||
### Executing on Vagrant | ||
```bash | ||
|
This file contains 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
This file contains 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