UncleNUC Wiki

Second chance for NUCs

User Tools

Site Tools


lab:ansible_virtualbox_autoboot_linux:deploy_a_fleet_of_vms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lab:ansible_virtualbox_autoboot_linux:deploy_a_fleet_of_vms [2024/01/21 19:24] – saved userlab:ansible_virtualbox_autoboot_linux:deploy_a_fleet_of_vms [2024/05/10 05:16] (current) – removed user
Line 1: Line 1:
-====== Deploy a Fleet of VMs ====== 
-In this step we will give the ''ansible'' account sudo privileges on our host and use playbooks to deploy and manager servers from an inventory of servers. 
- 
-Overview: 
-  - Give sudo permissions to user ansible 
-  - Set up the variables.yml file 
-  - Set up up the server.yml file with the information about the servers we want 
-  - Create jinja templates 
-  - Create playbook to deploy servers 
-  - Create playbook to update packages on the servers 
- 
-===== Grant sudo Permissions to the ansible User ===== 
-From your regular login account all the ''ansible'' user to the ''sudo'' group. 
-<code>sudo usermod -aG sudo ansible</group> 
- 
-You can new test sudo access for the user ''ansible'': 
-  * ''su - ansible'' 
-  * ''sudo apt update'' 
- 
-For the remainder of the Lab you will be using the ''ansible'' user. You may conveniently ssh to your server as user ''ansible''. 
- 
-===== Create a New variables.yml File ===== 
- 
-===== Create servers.yml File ===== 
- 
-===== Create  server-user-data.js Jinja File ===== 
- 
-===== Deploy Servers ===== 
- 
-===== Update Servers ===== 
- 
- 
-====== Next Step ====== 
-continue to.... [[Deploy an Application to our fleet of VMs]] 
- 
-Or back to [[Delete the First Ubuntu VM using Ansible]] 
- 
-====== Optional ====== 
-Explore using CSV files from Excel 
- 
  
lab/ansible_virtualbox_autoboot_linux/deploy_a_fleet_of_vms.1705865050.txt.gz · Last modified: 2024/01/21 19:24 by user