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
|
||||
copy:
|
||||
src: etc/apt/apt.conf.d/20auto-upgrades
|
||||
|
@ -18,4 +23,3 @@
|
|||
community.general.locale_gen:
|
||||
name: de_DE.UTF-8
|
||||
state: present
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
- name: base config
|
||||
import_tasks: config.yml
|
||||
|
||||
- name: custom DNS servers
|
||||
import_tasks: dns.yml
|
||||
|
||||
- name: install packages
|
||||
import_tasks: packages.yml
|
||||
|
||||
- name: custom DNS servers
|
||||
import_tasks: dns.yml
|
||||
|
||||
- name: install ctop
|
||||
import_tasks: ctop.yml
|
||||
|
||||
|
|
Loading…
Reference in a new issue