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
Started by user bwahmed | |
Rebuilds build #78 | |
Checking out git https://github.com/SnapLogic/AnsibleRoles.git into /var/lib/jenkins/workspace/Playground/controller_bwahmed/SL_CLIENT@script to read Jenkinsfile | |
using credential c76b0ed4-ed14-48f3-947f-9966ac05b8cd | |
> git rev-parse --is-inside-work-tree # timeout=60 | |
Fetching changes from the remote Git repository | |
> git config remote.origin.url https://github.com/SnapLogic/AnsibleRoles.git # timeout=60 | |
Fetching upstream changes from https://github.com/SnapLogic/AnsibleRoles.git | |
> git --version # timeout=60 | |
using GIT_ASKPASS to set credentials |
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
test_default.py | |
******************* | |
"""Role testing files using testinfra.""" | |
import os | |
import pytest | |
import testinfra.utils.ansible_runner | |
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( |
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
- name: Create ALB | |
elb_application_lb: | |
name: "{{ tg_name }}" | |
state: present | |
region: '{{ region }}' | |
security_groups: '{{ aws_env[env][region].group_id }}' | |
subnets: "{{ aws_env[env][region].vpc_subnet_ids }}" | |
purge_listeners: yes | |
deletion_protection: yes | |
listeners: |