diff --git a/config/foreman.migrations/20241106161211_remove_proxycommand.rb b/config/foreman.migrations/20241106161211_remove_proxycommand.rb new file mode 100644 index 00000000..418f169d --- /dev/null +++ b/config/foreman.migrations/20241106161211_remove_proxycommand.rb @@ -0,0 +1,3 @@ +if answers['foreman_proxy::plugin::ansible'].is_a?(Hash) && answers['foreman_proxy::plugin::ansible']['ssh_args'] == '-o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s' + answers['foreman_proxy::plugin::ansible']['ssh_args'] = '-C -o ControlMaster=auto -o ControlPersist=60s' +end