--- a/roles/bootstrap/tasks/main.yml +++ b/roles/bootstrap/tasks/main.yml @@ -13,7 +13,7 @@ authorized_key: manage_dir: true user: ansible - key: "{{item}}" + key: "{{ item }}" with_file: - 'public_keys/ansible' @@ -24,6 +24,3 @@ regexp: '^ansible' line: 'ansible ALL=(ALL) NOPASSWD: ALL' validate: 'visudo -cf "%s"' - -- include: disable-stock.yml - when: disable_stock_users