[ansible-project] Failed to connect to the host via ssh: Connection timed out during banner exchange

2021-12-07 Thread Justin Seiser
We have 2 environments, both showing the same problem. ENV 1. Jenkins worker is in a Docker Container, running on a linux server ENV 2. Jenkins worker is a K8s pod. The `container` the work is being ran from is the same in each env. This is the same container I am using locally to test. We hav

[ansible-project] How to Deal with WinRM/PSRP CredSSP Read timed out

2018-12-26 Thread Justin Seiser
TASK [roles/ansible-role-dc : Copy Schema File 2] ** fatal: [10.254.64.5]: UNREACHABLE! => { "changed": false, "msg": "credssp: HTTPSConnectionPool(host='10.254.64.5', port=5986): Read timed out. (read timeout=200)", "unreachable": true} to retry, use: --limit @/home/

[ansible-project] Ansible Galaxy: Unable to Clone Private Git Repo

2018-10-08 Thread Justin Seiser
I have my ansible role in a git repo, in AWS Code Commit. I have an SSH Key that allows me to clone the repo. I have an ~/.ssh/config file that configures the key/user for code commit. Host git-codecommit.us-east-1.amazonaws.com User AKIAJKJVTT7KGQ3WKG6A IdentityFile ~/.ssh/codecommit_rsa Th

[ansible-project] win_domain_membership - Setting Hostname when No Domain Is Present

2018-02-05 Thread Justin Seiser
I have a windows ec2 instance, that I would like to set the hostname on. Issue being, the module wants Domain Admin credentials which do not exist so I am not sure what is really needed here. ansible 2.4.3.0 config file = /home/justin/Documents/projects/ansible_mfa/ansible.cfg configured mo

[ansible-project] Role to Create/Tear Down EC2 Instances

2018-02-01 Thread Justin Seiser
I have a few questions on handling the creation/tear down of an ec2 instance. I have a role ( its a task atm, but Ill be migrating it over') - name: dallascowboys | Deployments include_tasks: tasks/customer-instance.yml vars: customer_name: dallascowboys

[ansible-project] AWS Security Group and VPC Peering

2018-01-26 Thread Justin Seiser
I am trying to allow a security group from a VPC peer, access to resources on another security group. Exactly what is described here. I am using ansible 2.5 https://github.com/ansible/ansible/pull/28876 My VPC is active. (venv) [ec2-user@ip-10-99-200-10 deployment]$ aws ec2 describe-vpc-peeri

[ansible-project] Re: Any tips on working with SQL Express on Windows

2018-01-25 Thread Justin Seiser
Thanks, this is actually working out fine for me. I still have 2 'changed' each run, but they are just scripts checking if my setting is already configured, and if not, we register that and then run a second script to actually do the change. - name: Run Check SQL TCP Script win_shell: C:\Sc

[ansible-project] Re: Any tips on working with SQL Express on Windows

2018-01-23 Thread Justin Seiser
I think i can work from that, so thanks. My real issue is how to get the return of those powershell commands. Im sure im missing it in the ansible documentation but I dont know how to register and access the output of the script itself. -- You received this message because you are subscribed

[ansible-project] Any tips on working with SQL Express on Windows

2018-01-22 Thread Justin Seiser
I'm looking to start a project working against an Amazon image with SQL Express preinstalled. I know that it comes with windows auth. I know I can also configure the authentication mode to use a SA account. My real issue is that this will have to be done with powershell, and I can't not find a p

[ansible-project] Migrating to Ansible

2017-12-20 Thread Justin Seiser
I wanted to see if anyone had some tips on how to migrate a current production environment to ansible? Currently ~30 servers are running in AWS. A few autoscaling groups that come up from golden ami's. Ive been playing with ansible, used it to deploy a graylog cluster easy enough. Now that

Re: [ansible-project] Trying to duplicate a Bash script into ansible -- Not sure how to best handle alternatives with Slaves

2017-12-14 Thread Justin Seiser
have idempotence either) I'd use the script module with your > existing bash script. > > -toshio > > On Dec 13, 2017 7:39 AM, "Justin Seiser" > wrote: > >> I see there was a feature >> <https://github.com/ansible/ansible/issues/24278> reque

[ansible-project] Trying to duplicate a Bash script into ansible -- Not sure how to best handle alternatives with Slaves

2017-12-13 Thread Justin Seiser
I see there was a feature request for this, but they do not note how they actually worked around it. In a nutshell, we download a groovy archive, unzip it, and create slaves for every file in the archive that is not the groovy executable, and doe