-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor playbook for consistency with other projects
- Loading branch information
1 parent
2b30e89
commit 9d57513
Showing
2 changed files
with
10 additions
and
5 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,15 +1,17 @@ | ||
--- | ||
|
||
# Provision Ansible controller with SSH key for remote | ||
- hosts: localhost | ||
roles: | ||
- ssh-key | ||
vars: | ||
ssh_key_name: ansible_remote | ||
hashicorp_vault_private_key_path: "/applications/heritage-{{ environment_name }}-eu-west-2/tuxedo/aws" | ||
- role: ssh-key | ||
vars: | ||
ssh_key_name: ansible_remote | ||
hashicorp_vault_private_key_path: "{{ vault_base_path }}/aws" | ||
|
||
# Deploy Tuxedo services | ||
- hosts: aws_ec2 | ||
serial: 1 | ||
remote_user: centos | ||
become: yes | ||
roles: | ||
- deploy | ||
- role: deploy |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
|
||
vault_base_path: /applications/heritage-{{ environment_name }}-eu-west-2/chl-tuxedo |