Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kdpuvvadi committed Jun 29, 2021
1 parent a41d9d7 commit cbd247b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
30 changes: 14 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
## Deploy Nginx Proxy Manager with Ansible Playbook

You need atleast 2.9 or higher version of ansible.
### Install Ansible
### Setup

`pip install ansible`
1. Install pip `sudo apt install python3-pip -y`
2. install ansible with pip `pip install ansible`
3. Install docker sdk for ansible `pip install docker`
4. Install requirements `ansible-galaxy collection install -r requirements.yml`

### Install Docker SDK for Ansible
### Run

`pip install docker`

### Install Docker community edition with ansible galaxy

`ansible-galaxy collection install -r requirements.yml`

### Download the Playbooks

Clone the repo with `git clone https://github.com/kdpuvvadi/Nginx-Proxymanager-Ansible.git nginx-proxy`. Edit the vars file desired values and change the host ip & host ssh username.
1. Clone the repo `git clone https://github.com/kdpuvvadi/Nginx-Proxy-Manager-Ansible.git proxy`.
2. copy `example.inventory.ini` to `inventory.ini`.
3. Change host ip of the host.
4. copy `example.vars.yml` to `vars.yml`.
5. Change the variable based on your preferences.

### Run the playbook

* `ansible-playbook main.yml` ( installs docker and deploys proxy manager. append `-K` for sudo password prompt if necessary).


Run `ansible-playbook main.yml`

### Login Details

```
Email: [email protected]
Password: changeme
Expand All @@ -34,4 +32,4 @@ Password: changeme

### Install portainer

To install portainer set `portainer_enable` value to `true`.
To install portainer set `portainer_enable` value to `true`.
2 changes: 1 addition & 1 deletion example.inventory.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[deb]
server1 ansible_host=192.168.1.56
server1 ansible_host=10.0.20.56

0 comments on commit cbd247b

Please sign in to comment.