Comments (3)
The provisioner pauses while trying to trust the newly created ssh key
Do you know which task you were on?
from workshops.
@gdykeman @kyleabenson @jmcleroy
I think I see the issue finally that is happening on some installs. The ssh-add seems to be a bad way to create and add a SSH key on the fly. After reading through http://rabexc.org/posts/pitfalls-of-ssh-agents I realized the the ssh-add might work on certain distributions, but not all. I think RHEL/CENTOS 7.5 doesn't start ssh agents by default... but we also don't want to make the playbook so specific to RHEL that it won't work on MacOS (or wahtever else)
So what I did is just deprecated the requirement for ssh-add. If the host operating system DOES have ssh-agent running it will use ssh-add, otherwise it use lineinfile to add an identifyfile like this->
[sean@centos provisioner]$ cat ~/.ssh/config
Host *
User ec2-user
IdentityFile /home/ec2-user/.ssh/aws-private.pem
That way it will use the file, rather than relying on ssh-add. This SEEMS to work. Can one of you try this from Engine? After we get it working on Engine I can try tower.
from workshops.
closing as I think this is fixed now, please reopen with any issue @kyleabenson
from workshops.
Related Issues (20)
- Automate Satellite Exercises HOT 2
- Bug report for Ansible Workshops HOT 1
- Setting up RHEL workshop and Automation Controller install fails. HOT 3
- Bug report for Ansible Workshops - Configuration as Code for Ansible Automation Platform 2 HOT 4
- Bug report for Ansible Workshops - Configuration as Code for Ansible Automation Platform 2 HOT 2
- Change BIG-IP F5 mgmt password task fails HOT 1
- Section 2.4 RHEL workshop Eecution Environment should be Execution Environment
- Junos OS version out-of-date in AAP2 Networking workshop HOT 2
- Ansible _rhel workshop : Section 2 : Worshop Inventory : hosts disabled by default HOT 1
- Ansible _rhel workshop : Section 1 : 1.7 : open port https/443 and test curl with port 80
- apache role allows https instead of http HOT 2
- workshop_inventory nodes default to off HOT 2
- French version is outdated HOT 1
- Windows workshop - reboot required when IIS gets installed
- Controller install variable for become_user
- Ansible Security Workshop in RHDP HOT 2
- Ansible Workshop - Ansible for Windows Automation - Bug or.. documentation issue HOT 2
- Ansible Networking Workshop error HOT 4
- Bug report for Ansible Workshops HOT 2
- Slides for the public deck neet Tower -> Automation Controller
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshops.