Better names. :)

This commit is contained in:
2021-02-02 21:28:17 -06:00
parent b221478f35
commit 2951b687ae
18 changed files with 52 additions and 52 deletions

View File

@ -1,6 +1,6 @@
---
# Groups that do not come to all distros by default.
- name: Ensure sudo group exists (Looking at you BSD!)
- name: General | Account Management | Groups | Sudo (Looking at you BSD!)
group:
name: sudo

View File

@ -6,11 +6,11 @@
# openssh_keypair:
# path: /root/.ssh/id_rsa
- name: SSH Key | Root | Create
- name: General | Account Management | SSH Key | Root | Create
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n
args:
executable: "{{ bash_exec.stdout }}"
ignore_errors: yes
- name: SSH Key | Root | Copy to 1337
- name: General | Account Management | SSH Key | Root | Copy to 1337
shell: ssh-copy-id -i /root/.ssh/id_rsa ling@leet

View File

@ -1,20 +1,20 @@
---
# Mount shares that all systems should have.
- name: Mounts | Create 1337 Folder
- name: General | Account Management | Mounts | Create 1337 Folder
file:
path: /mnt/leet
state: directory
mode: '0755'
- name: Mounts | Create fstab Entries
- name: General | Account Management | Mounts | Create fstab Entries
blockinfile:
path: /etc/fstab
block: |
ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0
backup: yes
- name: Mounts | Mount All
- name: General | Account Management | Mounts | Mount All
shell: mount -a
args:
warn: false

View File

@ -1,7 +1,7 @@
---
# Ensure the proper users have sudo access.
- name: Add Ansible Sudoers File
- name: General | Account Management | Sudo | Copy Ansible
copy:
src: sudoers_ansible
dest: "{{ sudoers_install_dir }}"
@ -9,7 +9,7 @@
group: "{{ root_group }}"
mode: 0440
- name: Add Sudo Group Sudoers File
- name: General | Account Management | Sudo | Copy Sudo Group
copy:
src: sudoers_sudo
dest: "{{ sudoers_install_dir }}"

View File

@ -2,7 +2,7 @@
# Create users for both desktop and server machines.
# Scheduler
- name: Create User Ansible
- name: General | Account Management | User | Ansible
user:
name: ansible
comment: Ansible
@ -10,7 +10,7 @@
# Superuser
- name: Create User Hyperling
- name: General | Account Management | User | Hyperling
user:
name: ling
comment: Hyperling