hostname is optional

Setting the hostname is part of the pre-ansible install instructions, so
it is really only useful here to change the hostname. Changing the
hostname probably doesn't happen often and is simple enough without
ansible, so meh.
This commit is contained in:
Pig Monkey 2016-01-15 19:26:02 -08:00
parent 21661fee54
commit cbcbde3242
2 changed files with 1 additions and 2 deletions

View file

@ -9,8 +9,6 @@ dotfiles:
url: git@github.com:pigmonkey/dotfiles.git
rcup_flags: -x README.md
hostname: nous
aur:
dir: aur
packages:

View file

@ -7,6 +7,7 @@
- name: Set the hostname
hostname: name={{ hostname }}
when: hostname is defined
- include: shell.yml
- include: user.yml