Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[defaults]
inventory=./osp_jumpbox_inventory
roles_path=./roles

[privilege_escalation]
become=True
become_method=sudo

[ssh_connection]
ssh_args=" -F ./ssh.cfg -o ControlMaster=auto -o ControlPersist=60s"
host_key_checking=False
13 changes: 13 additions & 0 deletions ssh.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
host ansible.openstack.bastion
Hostname workstation-1c39.rhpds.opentlc.com
IdentityFile ~/.ssh/openstack.pem
ForwardAgent yes
User cloud-user
StrictHostKeyChecking no
PasswordAuthentication no
Host 10.10.10.*
User cloud-user
IdentityFile ~/.ssh/openstack.pem
ProxyCommand ssh -F ./ssh.cfg workstation-1c39.rhpds.opentlc.com -W %h:%p
StrictHostKeyChecking no

1 change: 1 addition & 0 deletions test.retry
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
localhost
4 changes: 4 additions & 0 deletions test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- hosts: localhost
become: no
tasks:
- debug: msg="Test"