vm-tool 1.0.25__tar.gz → 1.0.27__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vm_tool-1.0.25/vm_tool.egg-info → vm_tool-1.0.27}/PKG-INFO +9 -9
- {vm_tool-1.0.25 → vm_tool-1.0.27}/README.md +8 -8
- {vm_tool-1.0.25 → vm_tool-1.0.27}/setup.py +1 -1
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/cli.py +1 -1
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/github/git_configuration.yml +7 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27/vm_tool.egg-info}/PKG-INFO +9 -9
- {vm_tool-1.0.25 → vm_tool-1.0.27}/LICENSE +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/MANIFEST.in +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/setup.cfg +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/__init__.py +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/runner.py +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/ssh.py +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/cleanup.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/docker/create_docker_service.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/docker/docker_setup.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/docker/install_docker_and_compose.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/docker/login_to_docker_hub.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/dynamic_inventory.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/inventory.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/main.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/project_service.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool/vm_setup/setup.yml +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool.egg-info/SOURCES.txt +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool.egg-info/dependency_links.txt +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool.egg-info/entry_points.txt +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool.egg-info/requires.txt +0 -0
- {vm_tool-1.0.25 → vm_tool-1.0.27}/vm_tool.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: vm_tool
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.27
|
|
4
4
|
Summary: A Comprehensive Tool for Setting Up Virtual Machines.
|
|
5
5
|
Home-page: https://github.com/thesunnysinha/vm_tool
|
|
6
6
|
Author: Sunny Sinha
|
|
@@ -131,16 +131,16 @@ runner = SetupRunner(config)
|
|
|
131
131
|
|
|
132
132
|
ssh_configs = [
|
|
133
133
|
SSHConfig(
|
|
134
|
-
ssh_username='your_ssh_username_1',
|
|
135
|
-
ssh_password='your_ssh_password_1',
|
|
136
|
-
ssh_hostname='your_ssh_hostname_1',
|
|
137
|
-
ssh_identity_file='/path/to/your/ssh_key_1'
|
|
134
|
+
ssh_username='your_ssh_username_1', # e.g., ssh_user_1
|
|
135
|
+
ssh_password='your_ssh_password_1', # Optional, only use if you don’t want to use SSH key
|
|
136
|
+
ssh_hostname='your_ssh_hostname_1', # e.g., ssh1.example.com
|
|
137
|
+
ssh_identity_file='/path/to/your/ssh_key_1' # Optional, path to SSH Identity file
|
|
138
138
|
),
|
|
139
139
|
SSHConfig(
|
|
140
|
-
ssh_username='your_ssh_username_2',
|
|
141
|
-
ssh_password='your_ssh_password_2',
|
|
142
|
-
ssh_hostname='your_ssh_hostname_2',
|
|
143
|
-
|
|
140
|
+
ssh_username='your_ssh_username_2', # e.g., ssh_user_2
|
|
141
|
+
ssh_password='your_ssh_password_2', # Optional, only use if you don’t want to use SSH key
|
|
142
|
+
ssh_hostname='your_ssh_hostname_2', # e.g., ssh2.example.com
|
|
143
|
+
ssh_identity_file='/path/to/your/ssh_key_2' # Optional, path to SSH Identity file
|
|
144
144
|
)
|
|
145
145
|
# Add more SSHConfig instances as needed
|
|
146
146
|
]
|
|
@@ -77,16 +77,16 @@ runner = SetupRunner(config)
|
|
|
77
77
|
|
|
78
78
|
ssh_configs = [
|
|
79
79
|
SSHConfig(
|
|
80
|
-
ssh_username='your_ssh_username_1',
|
|
81
|
-
ssh_password='your_ssh_password_1',
|
|
82
|
-
ssh_hostname='your_ssh_hostname_1',
|
|
83
|
-
ssh_identity_file='/path/to/your/ssh_key_1'
|
|
80
|
+
ssh_username='your_ssh_username_1', # e.g., ssh_user_1
|
|
81
|
+
ssh_password='your_ssh_password_1', # Optional, only use if you don’t want to use SSH key
|
|
82
|
+
ssh_hostname='your_ssh_hostname_1', # e.g., ssh1.example.com
|
|
83
|
+
ssh_identity_file='/path/to/your/ssh_key_1' # Optional, path to SSH Identity file
|
|
84
84
|
),
|
|
85
85
|
SSHConfig(
|
|
86
|
-
ssh_username='your_ssh_username_2',
|
|
87
|
-
ssh_password='your_ssh_password_2',
|
|
88
|
-
ssh_hostname='your_ssh_hostname_2',
|
|
89
|
-
|
|
86
|
+
ssh_username='your_ssh_username_2', # e.g., ssh_user_2
|
|
87
|
+
ssh_password='your_ssh_password_2', # Optional, only use if you don’t want to use SSH key
|
|
88
|
+
ssh_hostname='your_ssh_hostname_2', # e.g., ssh2.example.com
|
|
89
|
+
ssh_identity_file='/path/to/your/ssh_key_2' # Optional, path to SSH Identity file
|
|
90
90
|
)
|
|
91
91
|
# Add more SSHConfig instances as needed
|
|
92
92
|
]
|
|
@@ -11,7 +11,7 @@ else:
|
|
|
11
11
|
|
|
12
12
|
setup(
|
|
13
13
|
name='vm_tool',
|
|
14
|
-
version='1.0.
|
|
14
|
+
version='1.0.27', # This will be updated by bump2version
|
|
15
15
|
packages=find_packages(),
|
|
16
16
|
description='A Comprehensive Tool for Setting Up Virtual Machines.',
|
|
17
17
|
long_description=long_description,
|
|
@@ -2,7 +2,7 @@ import argparse
|
|
|
2
2
|
|
|
3
3
|
def main():
|
|
4
4
|
parser = argparse.ArgumentParser(description='Setup VMs using Ansible.')
|
|
5
|
-
parser.add_argument('--version', action='version', version='1.0.
|
|
5
|
+
parser.add_argument('--version', action='version', version='1.0.27')
|
|
6
6
|
|
|
7
7
|
args = parser.parse_args()
|
|
8
8
|
|
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
debug:
|
|
31
31
|
msg: "Cloning repository from {{ GITHUB_PROJECT_URL }} (branch: {{ GITHUB_BRANCH }})"
|
|
32
32
|
|
|
33
|
+
- name: Ensure project directory is empty
|
|
34
|
+
file:
|
|
35
|
+
path: "{{ project_dest_dir }}"
|
|
36
|
+
state: directory
|
|
37
|
+
mode: '0755'
|
|
38
|
+
become: yes
|
|
39
|
+
|
|
33
40
|
- name: Clone the Project repository with shallow clone
|
|
34
41
|
git:
|
|
35
42
|
repo: "{{ GITHUB_PROJECT_URL }}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: vm_tool
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.27
|
|
4
4
|
Summary: A Comprehensive Tool for Setting Up Virtual Machines.
|
|
5
5
|
Home-page: https://github.com/thesunnysinha/vm_tool
|
|
6
6
|
Author: Sunny Sinha
|
|
@@ -131,16 +131,16 @@ runner = SetupRunner(config)
|
|
|
131
131
|
|
|
132
132
|
ssh_configs = [
|
|
133
133
|
SSHConfig(
|
|
134
|
-
ssh_username='your_ssh_username_1',
|
|
135
|
-
ssh_password='your_ssh_password_1',
|
|
136
|
-
ssh_hostname='your_ssh_hostname_1',
|
|
137
|
-
ssh_identity_file='/path/to/your/ssh_key_1'
|
|
134
|
+
ssh_username='your_ssh_username_1', # e.g., ssh_user_1
|
|
135
|
+
ssh_password='your_ssh_password_1', # Optional, only use if you don’t want to use SSH key
|
|
136
|
+
ssh_hostname='your_ssh_hostname_1', # e.g., ssh1.example.com
|
|
137
|
+
ssh_identity_file='/path/to/your/ssh_key_1' # Optional, path to SSH Identity file
|
|
138
138
|
),
|
|
139
139
|
SSHConfig(
|
|
140
|
-
ssh_username='your_ssh_username_2',
|
|
141
|
-
ssh_password='your_ssh_password_2',
|
|
142
|
-
ssh_hostname='your_ssh_hostname_2',
|
|
143
|
-
|
|
140
|
+
ssh_username='your_ssh_username_2', # e.g., ssh_user_2
|
|
141
|
+
ssh_password='your_ssh_password_2', # Optional, only use if you don’t want to use SSH key
|
|
142
|
+
ssh_hostname='your_ssh_hostname_2', # e.g., ssh2.example.com
|
|
143
|
+
ssh_identity_file='/path/to/your/ssh_key_2' # Optional, path to SSH Identity file
|
|
144
144
|
)
|
|
145
145
|
# Add more SSHConfig instances as needed
|
|
146
146
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|