vm-tool 1.0.21__tar.gz → 1.0.22__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.
Files changed (28) hide show
  1. {vm_tool-1.0.21/vm_tool.egg-info → vm_tool-1.0.22}/PKG-INFO +1 -1
  2. {vm_tool-1.0.21 → vm_tool-1.0.22}/setup.py +1 -1
  3. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/cli.py +1 -1
  4. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/main.yml +0 -3
  5. vm_tool-1.0.22/vm_tool/vm_setup/setup.yml +11 -0
  6. {vm_tool-1.0.21 → vm_tool-1.0.22/vm_tool.egg-info}/PKG-INFO +1 -1
  7. vm_tool-1.0.21/vm_tool/vm_setup/setup.yml +0 -5
  8. {vm_tool-1.0.21 → vm_tool-1.0.22}/LICENSE +0 -0
  9. {vm_tool-1.0.21 → vm_tool-1.0.22}/MANIFEST.in +0 -0
  10. {vm_tool-1.0.21 → vm_tool-1.0.22}/README.md +0 -0
  11. {vm_tool-1.0.21 → vm_tool-1.0.22}/setup.cfg +0 -0
  12. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/__init__.py +0 -0
  13. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/runner.py +0 -0
  14. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/ssh.py +0 -0
  15. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/cleanup.yml +0 -0
  16. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/docker/create_docker_service.yml +0 -0
  17. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/docker/docker_setup.yml +0 -0
  18. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/docker/install_docker_and_compose.yml +0 -0
  19. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/docker/login_to_docker_hub.yml +0 -0
  20. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/dynamic_inventory.yml +0 -0
  21. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/github/git_configuration.yml +0 -0
  22. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/inventory.yml +0 -0
  23. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool/vm_setup/project_service.yml +0 -0
  24. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool.egg-info/SOURCES.txt +0 -0
  25. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool.egg-info/dependency_links.txt +0 -0
  26. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool.egg-info/entry_points.txt +0 -0
  27. {vm_tool-1.0.21 → vm_tool-1.0.22}/vm_tool.egg-info/requires.txt +0 -0
  28. {vm_tool-1.0.21 → vm_tool-1.0.22}/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.21
3
+ Version: 1.0.22
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
@@ -11,7 +11,7 @@ else:
11
11
 
12
12
  setup(
13
13
  name='vm_tool',
14
- version='1.0.21', # This will be updated by bump2version
14
+ version='1.0.22', # 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.21')
5
+ parser.add_argument('--version', action='version', version='1.0.22')
6
6
 
7
7
  args = parser.parse_args()
8
8
 
@@ -2,9 +2,6 @@
2
2
  hosts: all
3
3
  gather_facts: yes
4
4
 
5
- vars:
6
- static_playbook_dir: "{{ playbook_dir }}"
7
-
8
5
  tasks:
9
6
  - name: Setup
10
7
  include_tasks: setup.yml
@@ -0,0 +1,11 @@
1
+ - name: Setup VM
2
+ block:
3
+ - name: Set project_dest_dir variable for cloud
4
+ set_fact:
5
+ project_dest_dir: "{{ ansible_user_dir }}/project"
6
+ when: EXECUTION_TYPE == "cloud"
7
+
8
+ - name: Set project_dest_dir variable for normal
9
+ set_fact:
10
+ project_dest_dir: "{{ playbook_dir }}/project"
11
+ when: EXECUTION_TYPE == "normal"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: vm_tool
3
- Version: 1.0.21
3
+ Version: 1.0.22
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
@@ -1,5 +0,0 @@
1
- - name: Setup VM
2
- block:
3
- - name: Set project_dest_dir variable
4
- set_fact:
5
- project_dest_dir: "{{ static_playbook_dir }}/project"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes