Pushing new ansible script for VirtualBox deployment

This commit is contained in:
2023-12-15 22:23:39 -05:00
parent 6e1d432314
commit f8c025863b
2 changed files with 15 additions and 6 deletions
+8 -6
View File
@@ -32,11 +32,6 @@ all:
ansible_host: oracle.madereddy.com
ansible_user: ubuntu
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
Gaming:
ansible_host: 192.168.1.13
ansible_connection: ssh
ansible_user: jeet
ansible_shell_type: cmd
# host2:
# ansible_host: <ip>
# ansible_user: <user>
@@ -44,4 +39,11 @@ all:
# compose_file_paths:
# - /path/to/docker-compose.yml
# - /path/to/docker-compose.yml
# - /path/to/docker-compose.yml
# - /path/to/docker-compose.yml
VirtualBox:
hosts:
Gaming:
ansible_host: 192.168.1.13
ansible_connection: ssh
ansible_user: jeet
ansible_shell_type: cmd
+7
View File
@@ -0,0 +1,7 @@
- name: Build OCI Stack
hosts: VirtualBox
tasks:
- name: Start Virtual Box Deployment
ansible.builtin.command:
cmd: multipass launch 23.04 --bridged -n Test
ignore_errors: yes