Initial commit

This commit is contained in:
2020-08-18 07:42:39 +02:00
commit 7ba09982cd
219 changed files with 3277 additions and 0 deletions

24
roles/NFS_mount/tasks/main.yml Executable file
View File

@@ -0,0 +1,24 @@
---
# tasks file for NFS_mount
- name: NFS insert in FStab
blockinfile:
path: /etc/fstab
block: |
35.54.20.230:/repo /repo nfs
- name: Mount NFS
shell: 'mount -a'
- name: Delete all repos deprecated or not working
shell: 'rm -rf /etc/yum.repos.d/*'
- name: Copy Media.repo
copy:
src: files/redhat.repo
dest: /etc/yum.repos.d/
- name: Clean cache of old's repos
shell: 'yum clean all'
- name: Update repos cache
shell: 'yum makecache fast'
- name: install the latest version of wget
yum:
name: wget
state: latest