diff options
-rw-r--r-- | initial-deploy.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/initial-deploy.yml b/initial-deploy.yml index 8fa7330..23a9f8f 100644 --- a/initial-deploy.yml +++ b/initial-deploy.yml @@ -1,6 +1,6 @@ - name: Setup Ansible user and authorized keys gather_facts: false - hosts: new + hosts: "{{ target }}" tasks: - name: Install sudo package package: @@ -10,7 +10,7 @@ user: name: "ansible" groups: "sudo" - password: "{{ new | password_hash('sha512') }}" + password: "{{ mypass | password_hash('sha512') }}" - name: Setup Authorized keys authorized_key: user: "ansible" |