Skip to content

Instantly share code, notes, and snippets.

- 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:
@wabmca
wabmca / gist:2868b1a804e73e74af0985a79c6e3ba3
Created August 10, 2021 09:23
my_gist_2;why test cases are executed locally
test_default.py
*******************
"""Role testing files using testinfra."""
import os
import pytest
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
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