changed proxmox.yml file

This commit is contained in:
Shankar Mounesh
2022-06-12 17:28:20 +05:30
parent 42e5fea10e
commit 7cd6b48f3e
2 changed files with 10 additions and 2 deletions
+5 -2
View File
@@ -3,9 +3,9 @@
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
## Run this command as a root user to install and run ansible
```sh
curl 172.16.16.65:8081/ansible/ | sudo bash
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
@@ -13,8 +13,11 @@ The above command downloads a bash file from 172.16.16.65 and runs the following
```sh
apt update -y;
apt install git -y;
apt install software-properties-common -y;
add-apt-repository --yes --update ppa:ansible/ansible;
apt install ansible -y;
ansible --version;
ansible-pull -U https://git.bitsathy.ac.in/ShankarMounesh/ansible-proxmox.git
```
+5
View File
@@ -19,6 +19,11 @@
dest: /etc/apt/sources.list.d/pve-enterprise.list
owner: root
group: root
- name: Remove ansible repo
community.general.apt_repo:
repo: ansible/ansible
state: absent
tasks: