-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PBs: Added PB for setting up vagrant machines #985
Conversation
8d48a2c
to
1a74b38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need this to install java as well (either from apt
or the adoptopenjdk java 8) if no java
is already available on the system
Arguably it could do with creating a jenkins user as well, but I'm ok with leaving that out for now.
1a74b38
to
f69d4cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing the winrm
module install:
https://ci.adoptopenjdk.net/job/SXA-PlaybookCheckParallel/OS=Win2012,label=vagrant/122/console
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
fatal: [172.28.128.4]: FAILED! => {"msg": "winrm or requests is not installed: No module named winrm"}
PLAY RECAP *********************************************************************
172.28.128.4 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
369269e
to
5152800
Compare
5152800
to
b02ba08
Compare
b02ba08
to
a528c02
Compare
Requested by @sxa555 to setup the machines to run the
SXA-PlaybookCheckParallel
.Tested on an Ubuntu1804 machine, by running the following commands:
vagrant_hosts
, with<IP_Address> ansible_ssh_user='root' ansible_ssh_pass=<Password>
sshPass
on my Macbookansible-playbook -i vagrant_host vagrant.yml
.I've written the playbook for the software versions to reflect the version that are currently installed on my Macbook