21 lines
751 B
Markdown
21 lines
751 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 to install and run ansible
|
|
```sh
|
|
curl 172.16.16.65:8081/ansible/ | sudo 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 software-properties-common -y;
|
|
add-apt-repository --yes --update ppa:ansible/ansible;
|
|
apt install ansible -y;
|
|
```
|
|
|