Skip to content

Commit

Permalink
ssh_args = -o ControlMaster=auto -o ControlPersist=600s
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Feb 11, 2020
1 parent c6d093b commit 284ca05
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
control_path = %(directory)s/%%h-%%p-%%r
pipelining = true
scp_if_ssh = true
ssh_args = -o ControlMaster=auto -o ControlPersist=600s

[defaults]
ansible_managed = Ansible managed: Do NOT edit this file manually!
display_failed_stderr = true
forks = 10
forks = 20
host_key_checking = false
interpreter_python = auto
nocows = 1
Expand Down
7 changes: 6 additions & 1 deletion molecule/centos-7/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ platforms:
network_name: private_network
type: dhcp
provider_raw_config_args:
- 'cpu_mode = "host-passthrough"'
- 'nic_model_type = "virtio"'
- 'disk_bus = "virtio"'
- 'volume_cache = "none"'
Expand All @@ -45,6 +44,12 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ${ANSIBLE_ROLES_PATH}
config_options:
defaults:
forks: 20
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=600s
lint:
name: ansible-lint
inventory:
Expand Down
7 changes: 6 additions & 1 deletion molecule/redhat-7/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ platforms:
network_name: private_network
type: dhcp
provider_raw_config_args:
- 'cpu_mode = "host-passthrough"'
- 'nic_model_type = "virtio"'
- 'disk_bus = "virtio"'
- 'volume_cache = "none"'
Expand All @@ -45,6 +44,12 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ${ANSIBLE_ROLES_PATH}
config_options:
defaults:
forks: 20
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=600s
lint:
name: ansible-lint
inventory:
Expand Down
7 changes: 6 additions & 1 deletion molecule/suse-15/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ platforms:
network_name: private_network
type: dhcp
provider_raw_config_args:
- 'cpu_mode = "host-passthrough"'
- 'nic_model_type = "virtio"'
- 'disk_bus = "sata"'
- 'volume_cache = "none"'
Expand All @@ -45,6 +44,12 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ${ANSIBLE_ROLES_PATH}
config_options:
defaults:
forks: 20
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=600s
lint:
name: ansible-lint
inventory:
Expand Down
7 changes: 6 additions & 1 deletion molecule/ubuntu-16.04/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ platforms:
network_name: private_network
type: dhcp
provider_raw_config_args:
- 'cpu_mode = "host-passthrough"'
- 'nic_model_type = "virtio"'
- 'disk_bus = "virtio"'
- 'volume_cache = "none"'
Expand All @@ -45,6 +44,12 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ${ANSIBLE_ROLES_PATH}
config_options:
defaults:
forks: 20
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=600s
lint:
name: ansible-lint
inventory:
Expand Down
7 changes: 6 additions & 1 deletion molecule/ubuntu-18.04/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ platforms:
network_name: private_network
type: dhcp
provider_raw_config_args:
- 'cpu_mode = "host-passthrough"'
- 'nic_model_type = "virtio"'
- 'disk_bus = "virtio"'
- 'volume_cache = "none"'
Expand All @@ -45,6 +44,12 @@ provisioner:
name: ansible
env:
ANSIBLE_ROLES_PATH: ${ANSIBLE_ROLES_PATH}
config_options:
defaults:
forks: 20
ssh_connection:
pipelining: true
ssh_args: -o ControlMaster=auto -o ControlPersist=600s
lint:
name: ansible-lint
inventory:
Expand Down

0 comments on commit 284ca05

Please sign in to comment.