This is Ansible playbook to install Jenkins Master machine
- Debian like (APT)
- Python 2.7
- Ansible
- Debian package
sshpass
(for ask password)
You need this packages to Python 2.7, because modules using:
- python-apt
- python-urllib3
- Fill
master
file with IP(s) of the machine(s)
[master]
<IP> ansible-ssh-user=<user-client-machine>
One per line
- Enter
vars
directory and edit variables what you need - Execute command:
$ ansible-playbook -i master playbook.yml --ask-pass --ask-sudo-pass
- `--ask-pass`: password to ssh connection
- `--ask-sudo-pass`: password to remote_user