# HG changeset patch # User Meredith Howard # Date 1458700066 14400 # Node ID 9b3befb1c773b61b35b31deb5ab8676e2a1b361c # Parent 6f7483dfe742866979d115476f725504cf586848 Fix YAML diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml --- a/roles/user/tasks/main.yml +++ b/roles/user/tasks/main.yml @@ -10,7 +10,7 @@ register: user tags: user -- name: ssh : Pubkey for user +- name: "ssh : Pubkey for user" authorized_key: manage_dir: true user: "{{user.name}}" @@ -19,7 +19,7 @@ - public_keys/{{user.name}} tags: user, ssh -- name: ssh : Ensure known_hosts keys +- name: "ssh : Ensure known_hosts keys" become: true become_user: "{{user.name}}" lineinfile: @@ -31,7 +31,7 @@ with_dict: "{{hostkeys}}" tags: user, ssh -- name: ssh : Purge invalid known_hosts keys +- name: "ssh : Purge invalid known_hosts keys" become: true become_user: "{{user.name}}" lineinfile: