This repository contains Ansible collections for automating the deployment of Proxmox VMs and server applications, including Jira and Confluence servers. These collections are designed to simplify the process of setting up and managing your infrastructure, while providing a flexible and extensible framework for customization and scaling.
To use this repository, you will need to have Ansible installed on your local machine. You can download and install Ansible from the official website: https://www.ansible.com/
Once you have installed Ansible, you can clone this repository to your local machine and navigate to the root directory:
git clone https://github.com/opsdev91/ansible_collection
cd ansible_collection
The repository is organized into the following directories and files:
ansible.cfg
: Ansible configuration fileconfluence_playbook.yml
: Ansible playbook for creating a VM with installed Confluencedelete_vm.yml
: Ansible playbook for deleting a VM from Proxmoxinventories
: Directory containing inventory files for different environmentsjira_playbook.yml
: Ansible playbook for creating a VM with installed Jiraproxmox_playbook.yml
: Ansible playbook for creating a VM with common apps (nginx, java, mysql, postgres, mssql)requirements.yml
: Ansible requirements fileroles
: Directory containing Ansible roles for different applications and servicestest_playbook.yml
: Ansible playbook for testing the infrastructurevars
: Directory containing variable files for different environments and applicationswindows_server.yml
: Ansible playbook for creating a Windows Server VM
To use the Ansible collections in this repository, you can simply run the desired playbook with the ansible-playbook
command, specifying the inventory file and any necessary variables:
ansible-playbook -i inventories/dev -e @vars/proxmox.yml proxmox_playbook.yml
This command will create a new VM on your Proxmox server with the specified apps installed.
If you would like to contribute to this repository, please feel free to submit a pull request with your changes or suggestions. We welcome any feedback or ideas for improving this project!
This repository is licensed under the MIT License. Feel free to use and modify the code as needed.