Add hostname configuration
This commit is contained in:
		@@ -1,7 +1,8 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# https://sourceware.org/glibc/wiki/Locales
 | 
					common_hostname: "{{ ansible_hostname }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# https://sourceware.org/glibc/wiki/Locales
 | 
				
			||||||
system_locales:
 | 
					system_locales:
 | 
				
			||||||
  - en_US.UTF-8 UTF-8
 | 
					  - en_US.UTF-8 UTF-8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -32,6 +33,7 @@ pacman_ignorepkg: []
 | 
				
			|||||||
pacman_parallel_downloads: 2
 | 
					pacman_parallel_downloads: 2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
common_packages:
 | 
					common_packages:
 | 
				
			||||||
 | 
					  - less
 | 
				
			||||||
  - bash-completion
 | 
					  - bash-completion
 | 
				
			||||||
  - htop
 | 
					  - htop
 | 
				
			||||||
  - nano
 | 
					  - nano
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,9 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Common | Set hostname
 | 
				
			||||||
 | 
					  hostname:
 | 
				
			||||||
 | 
					    name: "{{ common_hostname }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Common | Set available locales
 | 
					- name: Common | Set available locales
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    src: locale.gen.j2
 | 
					    src: locale.gen.j2
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user