21 lines
765 B
Markdown
21 lines
765 B
Markdown
# Proxmox version-7 ansible repo
|
|
|
|
1. Ansible must be installed in the environment
|
|
2. Ansible will configure a cron-job that watches this repo for changes if any changes made ansible will automatically update the configuration in every machine
|
|
|
|
## Run this command as a root user to install and run ansible
|
|
```sh
|
|
curl 172.16.16.65:8081/ansible/ | bash
|
|
```
|
|
The above command downloads a bash file from 172.16.16.65 and runs the following commands instead of running one by one
|
|
|
|
## Run this command to install and run ansibleIf the above command not works run the following commands to install and run ansible
|
|
|
|
```sh
|
|
apt update -y;
|
|
apt install git ansible -y;
|
|
ansible --version;
|
|
ansible-pull -U https://git.bitsathy.ac.in/ShankarMounesh/ansible-proxmox.git
|
|
```
|
|
|