- Ansible installed - https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
- Vagrant installed (only for local-testing) - https://www.vagrantup.com/downloads.html
- Run
$ vagrant up
for getting vagrant box up and running - Rename
ansible.cfg.example
toansible.cfg
and update value ofprivate_key_file
with ssh_private_key value of vagrant box that can be retrieved from$ vagrant ssh-config
- Rename
hosts.example
tohosts
- Run command
$ ansible-playbook -vvv site.yml
, in the output of this command at "Get Admin Password" stage copy Jenkins inital password fromstdout_lines
key. - Enter intial password at http://:8080