made personal-linux-config compatible with RHEL environments

This commit is contained in:
2022-06-25 22:49:10 +02:00
parent 98459fa7e5
commit b984e4e3b2
6 changed files with 25 additions and 8 deletions

View File

@@ -2,6 +2,5 @@
- name: Ensure git is installed and updated
ansible.builtin.apt:
update_cache: yes
cache_valid_time: 0
name: git
state: latest

View File

@@ -0,0 +1,6 @@
---
- name: Ensure the hostname package is installed and updated
ansible.builtin.apt:
update_cache: yes
name: hostname
state: latest

View File

@@ -1,10 +1,4 @@
---
- name: Ensure the hostname package is installed and updated
ansible.builtin.apt:
update_cache: yes
cache_valid_time: 0
name: hostname
state: latest
- name: Ensure the personal-linux-config repositories is updated
ansible.builtin.git:
dest: /root/personal-linux-config

View File

@@ -0,0 +1,6 @@
---
- name: Ensure git is installed and updated
ansible.builtin.yum:
update_cache: yes
name: git
state: latest

View File

@@ -0,0 +1,6 @@
---
- name: Ensure the hostname package is installed and updated
ansible.builtin.yum:
update_cache: yes
name: hostname
state: latest