-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SECURESIGN-1479] Trillian TLS: add external DB TLS CA certificate (#102
- Loading branch information
Showing
7 changed files
with
100 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Error out if registry username is not set | ||
ansible.builtin.fail: | ||
msg: "Username for registry.redhat.io is not set, please provide it via TAS_SINGLE_NODE_REGISTRY_USERNAME env variable" | ||
when: tas_single_node_registry_username == "" | ||
|
||
- name: Error out if registry password is not set | ||
ansible.builtin.fail: | ||
msg: "Password for registry.redhat.io is not set, please provide it via TAS_SINGLE_NODE_REGISTRY_PASSWORD env variable" | ||
when: tas_single_node_registry_password == "" |
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 was deleted.
Oops, something went wrong.
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,21 @@ | ||
--- | ||
- name: Converge | ||
hosts: molecule | ||
gather_facts: true | ||
vars_files: | ||
- vars/vars.yml | ||
- vars/podman.yml | ||
tasks: | ||
- name: Ensure Registry credentials are set | ||
ansible.builtin.include_tasks: ../check_creds.yml | ||
|
||
- name: Copy CA certificate content into tas_single_node_trillian_trusted_ca | ||
ansible.builtin.slurp: | ||
src: "/etc/mysql/ssl/ca-cert.pem" | ||
register: ca_cert_content | ||
|
||
- name: Apply tas_single_node role | ||
ansible.builtin.include_role: | ||
name: tas_single_node | ||
vars: | ||
tas_single_node_trillian_trusted_ca: "{{ ca_cert_content.content | b64decode }}" |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
--- | ||
dependency: | ||
name: galaxy | ||
options: | ||
requirements-file: molecule/requirements.yml | ||
driver: | ||
name: default | ||
platforms: | ||
- name: instance | ||
private_key_file_path: ~/.ssh/id_rsa | ||
image_id: ami-0cd93da2da7f10cab | ||
instance_type: m5.large | ||
aws_key_name: CI-TEST | ||
provisioner: | ||
name: ansible | ||
env: | ||
ANSIBLE_ROLES_PATH: "../../roles" |
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
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