changed proxmox.yml file
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Remove ansible repo
|
||||
community.general.apt_repo:
|
||||
repo: ansible/ansible
|
||||
state: absent
|
||||
|
||||
tasks:
|
||||
|
||||
- name: update package cache
|
||||
|
||||
Reference in New Issue
Block a user