made personal-linux-config compatible with RHEL environments
This commit is contained in:
@@ -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
|
||||
|
||||
6
tasks/debian-general/hostname-package.yml
Normal file
6
tasks/debian-general/hostname-package.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Ensure the hostname package is installed and updated
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
name: hostname
|
||||
state: latest
|
||||
@@ -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
|
||||
|
||||
6
tasks/rhel-general/git.yml
Normal file
6
tasks/rhel-general/git.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Ensure git is installed and updated
|
||||
ansible.builtin.yum:
|
||||
update_cache: yes
|
||||
name: git
|
||||
state: latest
|
||||
6
tasks/rhel-general/hostname-package.yml
Normal file
6
tasks/rhel-general/hostname-package.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Ensure the hostname package is installed and updated
|
||||
ansible.builtin.yum:
|
||||
update_cache: yes
|
||||
name: hostname
|
||||
state: latest
|
||||
Reference in New Issue
Block a user