You've already forked server-setup
							
							added os_family condition in hostname package, added arch linux hostname package
This commit is contained in:
		@@ -1,8 +1,14 @@
 | 
			
		||||
---
 | 
			
		||||
- name: Ensure the hostname package is installed and updated
 | 
			
		||||
- name: (debian/rhel) Ensure the hostname package is installed and updated
 | 
			
		||||
  ansible.builtin.package:
 | 
			
		||||
    name: hostname
 | 
			
		||||
    state: latest
 | 
			
		||||
  where: ansible_facts["os_family"] == "Debian" or ansible_facts["os_family"] == "RHEL"
 | 
			
		||||
- name: (arch) Ensure the inetutils package is installed and updated
 | 
			
		||||
  ansible.builtin.package:
 | 
			
		||||
    name: inetutils
 | 
			
		||||
    state: latest
 | 
			
		||||
  where: ansible_facts["os_family"] == "Archlinux"
 | 
			
		||||
- name: Ensure the personal-linux-config repositories is updated
 | 
			
		||||
  ansible.builtin.git:
 | 
			
		||||
    dest: /root/personal-linux-config
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user