blob: 214f2438b136fd1ae64ac20739135800468086a5 (
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|bool
# vim: set ts=2 sw=2 et:
|