Created
November 9, 2016 03:31
-
-
Save jlaska/f727eda68e348710d3ebec6d8b7ad98f to your computer and use it in GitHub Desktop.
Starting ansible-tower vagrant box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vagrant init ansible/tower | |
A `Vagrantfile` has been placed in this directory. You are now | |
ready to `vagrant up` your first virtual environment! Please read | |
the comments in the Vagrantfile as well as documentation on | |
`vagrantup.com` for more information on using Vagrant. | |
# vagrant up --provider virtualbox | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Box 'ansible/tower' could not be found. Attempting to find and install... | |
default: Box Provider: virtualbox | |
default: Box Version: >= 0 | |
==> default: Loading metadata for box 'ansible/tower' | |
default: URL: https://atlas.hashicorp.com/ansible/tower | |
==> default: Adding box 'ansible/tower' (v3.0.3) for provider: virtualbox | |
default: Downloading: https://atlas.hashicorp.com/ansible/boxes/tower/versions/3.0.3/providers/virtualbox.box | |
==> default: Successfully added box 'ansible/tower' (v3.0.3) for 'virtualbox'! | |
==> default: Importing base box 'ansible/tower'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'ansible/tower' is up to date... | |
==> default: Setting the name of the VM: ansible-tower_default_1478662182181_94133 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 (guest) => 2222 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2222 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Remote connection disconnect. Retrying... | |
default: | |
default: Vagrant insecure key detected. Vagrant will automatically replace | |
default: this with a newly generated keypair for better security. | |
default: | |
default: Inserting generated public key within guest... | |
default: Removing insecure key from the guest if it's present... | |
default: Key inserted! Disconnecting and reconnecting using new SSH key... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
==> default: Setting hostname... | |
==> default: Configuring and enabling network interfaces... | |
==> default: Mounting shared folders... | |
default: /vagrant => /Users/jlaska/Projects/ansible-tower | |
# vagrant ssh | |
Welcome to Ansible Tower! | |
Log into the web interface here: | |
https://10.42.0.42/ | |
Username: admin | |
Password: ************ | |
The documentation for Ansible Tower is available here: | |
http://www.ansible.com/tower/ | |
For help, visit http://support.ansible.com/ | |
[vagrant@ansible-tower ~]$ cat /etc/redhat-release | |
CentOS Linux release 7.2.1511 (Core) | |
[vagrant@ansible-tower ~]$ rpm -q ansible-tower | |
ansible-tower-3.0.3-1.el7.centos.x86_64 |
@rsheyd good solution.
but after the login, it jumps to a page to ask me for a licence :(
I tried to run Vagarnat Up Command after installing Virtual Box and Ansible Tower Image. I'm getting following error, Even I checked BIOS to see whether I need to enable any virtualization options. I've two options which are alredy enabled they are : Intel(R) Vitualization Technology and Interl (R) VT-d Feature, But I don't see any VT-x. Is it old one one?
Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Neither above worked for me (there was no 51-tower-welcome.j2 file in /etc/tower). I had to reset admin password using tower-manage command, and was able to use the default ip (https://10.42.0.42) to login.
To reset admin password:
sudo tower-manage changepassword admin