Skip to content

Commit

Permalink
Merge pull request #172 from consul/release_1.3.0
Browse files Browse the repository at this point in the history
Install CONSUL version 1.3.0
  • Loading branch information
javierm authored Apr 27, 2021
2 parents 5ad9e44 + f899747 commit acbd0dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Setup locally for your [development environment](https://docs.consulproject.org/
Checkout the latest stable version:

```
git checkout origin/master -b stable
git checkout origin/1.3.0 -b stable
```

Create your `deploy-secrets.yml`
Expand Down Expand Up @@ -205,13 +205,13 @@ Using https instead of http is an important security configuration. Before you b

Once you have that setup we need to configure the Installer to use your domain in the application.

First, uncomment the `domain` variable in the [configuration file](https://github.com/consul/installer/blob/master/group_vars/all) and update it with your domain name:
First, uncomment the `domain` variable in the [configuration file](https://github.com/consul/installer/blob/1.3.0/group_vars/all) and update it with your domain name:

```
#domain: "your_domain.com"
```

Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consul/installer/blob/master/group_vars/all) and update it with a valid email address:
Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consul/installer/blob/1.3.0/group_vars/all) and update it with a valid email address:

```
#letsencrypt_email: "[email protected]"
Expand Down Expand Up @@ -252,7 +252,7 @@ smtp_password: "password"
smtp_authentication: "plain"
```

There are many more variables available check them out [here]((https://github.com/consul/installer/blob/master/group_vars/all))
There are many more variables available check them out [here]((https://github.com/consul/installer/blob/1.3.0/group_vars/all))

## Other deployment options

Expand Down Expand Up @@ -282,7 +282,7 @@ If you do not have `root` access, you will need your system administrator to gra

## Using a different user than deploy

Change the variable [deploy_user](https://github.com/consul/installer/blob/master/group_vars/all#L12) to the username you would like to use.
Change the variable [deploy_user](https://github.com/consul/installer/blob/1.3.0/group_vars/all#L12) to the username you would like to use.

## Ansible Documentation

Expand Down
2 changes: 1 addition & 1 deletion roles/folder_structure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
state: directory

- name: Create first release
shell: "git archive master | /usr/bin/env tar -x -f - -C {{ first_release_dir }}"
shell: "git archive 1.3.0 | /usr/bin/env tar -x -f - -C {{ first_release_dir }}"
args:
chdir: "{{ consul_dir }}/repo"

Expand Down
8 changes: 1 addition & 7 deletions roles/rails/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@
chdir: "{{ release_dir }}"
executable: /bin/bash

- name: Update secret_key_base configuration in secrets.yml (CONSUL 1.2 and earlier)
replace:
path: "{{ shared_dir }}/config/secrets.yml"
regexp: '^{{ env }}:\n secret_key_base: ""'
replace: '{{ env }}:\n secret_key_base: "{{ secret_key_base.stdout }}"'

- name: Update secret_key_base configuration in secrets.yml (CONSUL 1.3+)
- name: Update secret_key_base configuration in secrets.yml
replace:
path: "{{ shared_dir }}/config/secrets.yml"
regexp: '^{{ env }}:\n # secret_key_base: ""'
Expand Down

0 comments on commit acbd0dc

Please sign in to comment.