Comments (7)
For me with Win10 and Powershell menu opens then closes automatically. Tried to run it from Git bash , it complains about tty and suggest to use winpty. Tried ,not worked either. So in Hyperv I created an Ubuntu as virt machine and runnning it from there. It works well with same type of Ubuntu.
from ansible-interactive-tutorial.
Thank you for your answer, atekka85epam! Yes, that was the behaviour for me too, I was trying to avoid having to create a new VM, that´s why I tried with the Windows 10 UNIX subsystem.
Thank you!
from ansible-interactive-tutorial.
Other open issues seems to be related but I could not find time to work on this yet.
Also please note, you can always run the tutorial on http://play-with-docker.com
from ansible-interactive-tutorial.
Ah, this one is different than other issues, I'll try to find a similar setup and try to reproduce.
from ansible-interactive-tutorial.
from ansible-interactive-tutorial.
This issue still exists. It looks like it has something to do with mounted paths:
from ansible-interactive-tutorial.
OK, got it to run using a workaround. I simply replaced the paths within the file tutorial.sh
to absolute Windows paths (double backslash instead forward slash).
On my machine (Windows, using Git For Windows Bash) the variable BASEDIR
is set to /c/Users/my-user/ansible-interactive-tutorial
. So I added the following to the file tutorial.sh
:
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASEDIR_WIN="C:\\Users\\my-user\\ansible-interactive-tutorial"
NOF_HOSTS=3
NETWORK_NAME="ansible.tutorial"
WORKSPACE="${BASEDIR}/workspace"
WORKSPACE_WIN="${BASEDIR_WIN}\\workspace"
TUTORIALS_FOLDER="${BASEDIR}/tutorials"
TUTORIALS_FOLDER_WIN="${BASEDIR_WIN}\\tutorials"
And within the function runTutorialContainer
, I referenced to the *_WIN
variables for the docker run
command.
See also:
from ansible-interactive-tutorial.
Related Issues (20)
- Some error occurs in lesson 14
- Nothing happens on 7 ( Playbook conditionals ) step HOT 1
- Docker: Invalid reference format : repository name must be lowercase HOT 1
- Tutorial 13. Apache_tasks.yml doesnt look to be copied properly HOT 1
- Line not printing
- Cannot type in lesson prompt HOT 1
- Lesson 5: Can't complete Apache server installation HOT 2
- host{0,1,2}.example.org ssh authentication fails
- Replace state=installed with state=present HOT 1
- ansible-interactive-tutorial for docker HOT 6
- Link to available roles in lesson 14 leads nowhere HOT 2
- Minor issue in tutorial 14 - geerlingguy.java is not installed
- Does not work with podman
- Broken link in lesson 3: "First modules and facts" HOT 1
- "sh" command causes "panic: runtime error: slice bounds out of range"
- Nothing happening after Copy Module on lesson 3 HOT 1
- Level 14 error. HOT 1
- [Enhancement] A Feature to save the session ?
- Thanks!
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 ansible-interactive-tutorial.