ansible/ansible-modules-core — pull request #544 by encbladexp (2014-12-18 21:56:02+00:00)
Title: Create SSH Keys always after creating $HOME

##### Issue Type:

Bugfix Pull Request

##### Ansible Version:

ansible 1.8.2

##### Environment:

Arch Linux 64-Bit

##### Summary:

Ansible should always create a $HOME before trying to create an SSH Key.

##### Steps To Reproduce:

Change $HOME of an existing User and enable generate_ssh_key for this User, ansible will fail with this simple task because we try to generate ans SSH Key before creating $HOME.

##### Expected Results:

Ansible creates $HOME before SSH Key.

##### Actual Results:

Changing a Users Name or $HOME fails.