- Run "ansible-playbook -i inventory/hosts user.yml --ask-become-pass"
- Run "ansible-playbook -i inventory/hosts common_packages.yml"
- Run "scp ansible_playbook.py user@host:/tmp"
- Run "ansible-playbook -i inventory/hosts jenkins_install.yml"
- Run "ansible-playbook -i inventory/hosts lxd_install.yml"
- Run "lxd init" and complete steps
- Run "ansible-playbook -i inventory/hosts packer_install.yml"
- Run "git clone https://github.com/masumndc1/packer-template.git"
- Browse http://<jenkins_server_ip>:8080 and follow steps. Initial password will be in here "/var/lib/jenkins/secrets/initialAdminPassword"
You might need to install git and openjdk-8-jdk on lxd nodes.