Skip to content

Commit

Permalink
WIP: Redesign inventories
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelypolonkai committed Sep 23, 2024
1 parent 456579c commit adf5d01
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inventories/nos-redesigned/inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
dev:
hosts:
daniel.dev.nos.social:
ansible_host: 209.38.24.145
3 changes: 3 additions & 0 deletions inventories/planetary/hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pubs]
one.planetary.pub
two.planetary.pub
4 changes: 4 additions & 0 deletions playbooks/nos-redesigned.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Initial server tasks
hosts: all
roles:
- harden
1 change: 1 addition & 0 deletions roles/harden/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

- name: Create a new regular user with sudo privileges
ansible.builtin.user:
remote_user: root
name: "{{ admin_username }}"
state: present
groups: sudo
Expand Down

0 comments on commit adf5d01

Please sign in to comment.