change to using only one condition only_if "grep tuxedo /etc/passwd", :environment => { 'HOME' => "/home/tuxedo" }