Skip to content

Commit 3283c8a

Browse files
authored
Merge pull request #699 from CodeNow/add-JMESPath-requirement
add JMESPath requirement
2 parents 2a00993 + b1a7a85 commit 3283c8a

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,22 @@ To do so, execute the following steps:
1313
Installation: http://docs.ansible.com/intro_installation.html
1414
Upgrading: `sudo pip install ansible==2.2.1.0` or http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip
1515

16-
2. Get the latest devops-scripts (the recipes that we use to deploy various projects)
16+
2. Install JMESPath:
17+
`pip install jmespath-terminal`
18+
19+
3. Get the latest devops-scripts (the recipes that we use to deploy various projects)
1720
https://github.com/CodeNow/devops-scripts
1821

19-
3. Change to the devops scripts repo directory and run the following command:
22+
4. Change to the devops scripts repo directory and run the following command:
2023
`ln -s /<local-path-to-devops-scripts>/ssh/config ~/.ssh/config`
2124

22-
4. Obtain the "Ansible Secrets" zip for the environment you want to deploy (or create the new environment following [./environments/README.md](./environments/README.md))
25+
5. Obtain the "Ansible Secrets" zip for the environment you want to deploy (or create the new environment following [./environments/README.md](./environments/README.md))
2326

24-
5. Unzip file obtained above into `devops-scripts/environments/${YOUR_ENV}/secrets`
27+
6. Unzip file obtained above into `devops-scripts/environments/${YOUR_ENV}/secrets`
2528

26-
6. Copy the `*.pem` files from `devops-scripts/ansible/secrets` to your `~/.ssh` directory
29+
7. Copy the `*.pem` files from `devops-scripts/ansible/secrets` to your `~/.ssh` directory
2730

28-
7. Install two required tools onto your machine:
31+
8. Install two required tools onto your machine:
2932
```bash
3033
brew update && brew install vault daemon
3134
```
@@ -71,7 +74,7 @@ of the docker image needed to run the service on our architecture.
7174

7275
##### Command
7376
```
74-
ansible-playbook -i ./[inventory_dir] [service-playbook] -e @[main-var-file] -e git_branch=[branch-or-tag] -t deploy
77+
ansible-playbook -i ../[inventory_dir] [service-playbook] -e @../environments/[gamma-or-delta]/main.yml -e git_branch=[branch-or-tag] -t deploy
7578
```
7679

7780
##### Arguments
@@ -99,7 +102,7 @@ being tested in the production mirror.
99102

100103
##### Command
101104
```
102-
ansible-playbook -i ./[inventory_dir] [service-playbook] -e @[main-var-file] -e git_branch=[branch-or-tag] -t deploy -e build_args=--no-cache
105+
ansible-playbook -i ../[inventory_dir] [service-playbook] -e @../environments/[gamma-or-delta]/main.yml] -e git_branch=[branch-or-tag] -t deploy -e build_args=--no-cache
103106
```
104107

105108
##### Arguments

0 commit comments

Comments
 (0)