Unreal amounts of linter fixes
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 16s

This commit is contained in:
2025-05-26 01:10:00 -07:00
parent 8ef606153f
commit 75b7f2fa3d
15 changed files with 39 additions and 122 deletions

View File

@@ -2,14 +2,15 @@
# The rest of the role stuff is meant to be ran as the admin user that
# this playbook creates for us
---
- hosts: nigel.local
- name: Setup local admin user with a fresh ubuntu host
hosts: nigel.local
remote_user: nigel
vars:
admin:
username: nigel
tasks:
- name: Copy the nigel admin key
ansible.builtin.authorized_key:
ansible.posix.authorized_key:
user: "{{ admin.username }}"
state: present
key: "{{ lookup('file', '~/.ssh/nigel/admin.pub') }}"
@@ -24,4 +25,4 @@
become: true
ansible.builtin.service:
name: ssh
state: restarted
state: restarted