Add new task for hostname #248
This commit is contained in:
parent
58abaf0d47
commit
310253a661
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
- name: set hostname
|
||||||
|
hostname:
|
||||||
|
name: "{{ inventory_hostname }}"
|
||||||
|
use: debian
|
||||||
|
|
||||||
- name: copy base configs
|
- name: copy base configs
|
||||||
copy:
|
copy:
|
||||||
src: etc/apt/apt.conf.d/20auto-upgrades
|
src: etc/apt/apt.conf.d/20auto-upgrades
|
||||||
|
@ -17,5 +22,4 @@
|
||||||
- name: Ensure the DE locale exists
|
- name: Ensure the DE locale exists
|
||||||
community.general.locale_gen:
|
community.general.locale_gen:
|
||||||
name: de_DE.UTF-8
|
name: de_DE.UTF-8
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
- name: base config
|
- name: base config
|
||||||
import_tasks: config.yml
|
import_tasks: config.yml
|
||||||
|
|
||||||
- name: custom DNS servers
|
|
||||||
import_tasks: dns.yml
|
|
||||||
|
|
||||||
- name: install packages
|
- name: install packages
|
||||||
import_tasks: packages.yml
|
import_tasks: packages.yml
|
||||||
|
|
||||||
|
- name: custom DNS servers
|
||||||
|
import_tasks: dns.yml
|
||||||
|
|
||||||
- name: install ctop
|
- name: install ctop
|
||||||
import_tasks: ctop.yml
|
import_tasks: ctop.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue