commit | 25ff1cd46e9b1d94c5a6d54b0ee5143252ad6c36 | [log] [tgz] |
---|---|---|
author | Andrew Bayer <andrew.bayer@gmail.com> | Tue Jul 07 20:02:54 2015 +0200 |
committer | Andrew Bayer <andrew.bayer@gmail.com> | Tue Jul 07 20:02:54 2015 +0200 |
tree | 0cbfe5e4a87131e2c1a189c28639e4ce92381ea3 | |
parent | abd4d6f6fae4c92d51ed73ac56a0e26e4133a52a [diff] | |
parent | ead06089acecb24f35ac38204d810e392fc1191c [diff] |
Merge pull request #9 from apache/jdk7-unlimited-security install jdk7 unlimited security
[hadoop-slaves] asf90[0:5].gq1.ygridcore.net asf9[06:11].gq1.ygridcore.net
[ubuntu-slaves:vars] jdk_version=7 jvm_data_model=32 ansible_ssh_user= update_etc_hosts=false
[hadoop-slaves:vars] jdk_version=6 jvm_data_model=64 ansible_ssh_user= update_etc_hosts=true
[slaves:children] ubuntu-slaves hadoop-slaves
<p>To run on specific hosts comment out other host info or other option is to commentout the label say ubuntu-slave , if only want to run the playbooks on hadoop-slaves. Also, set the <sshuser> to point to a userid that has sudo access on the slaves.</p> <hr> <b><p>step2<h5>update init.yml</h5></p></b> <p> If, execting ansible playbook for the first time you may have to enable couple to flags.</p> <b><p>To setup p/w less ssh from master to slave</p></b>
setup_master_key: true - add the path to the jenkins master pub key
<b><p>To setup jenkins user with crypted password copy the password from one of the jenins slaves shadow file and paste it against </p></b>
pass_word: and also set setup_password: true
<b><p>and similary for setting up the clover license, installing jdk and copying nexus password for ci user</p></b> <hr> <b><p>step3<h5>To execute ansible playbooks.</h5> </p> </b>
ansible-playbook -i hosts init.yml ```
ansible-playbook -i hosts init.yml -vv --tags install_libraries,update_configs