blob: 6709c03278d5093f6f76db0e1ded8f35da2b225c (
plain) (
tree)
|
|
---
- name: Set hostname
hostname:
name: '{{ hostname }}'
when: not chroot
- name: '- when in chroot'
copy:
dest: '/etc/hostname'
content: "{{ hostname }}\n"
owner: root
group: root
mode: 0644
when: chroot
# vim: set ts=2 sw=2 et:
|