-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e93f434
commit 80ed249
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#cloud-config | ||
## Add and configure new user cloo, authorized keys for steve, anusha and hrafn | ||
groups: | ||
- docker | ||
|
||
users: | ||
- name: cloo | ||
ssh-authorized-keys: | ||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAFb1SNKeovfTz1JXrok00+s6YREBlgKFlrDEYh7Dh+D [email protected] | ||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP1IbOCzPJCBBQcDsutoUB3vHzYZ7bIKbNmeeiXW8DWx [email protected] | ||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEYTmr8Il/pVEkBtj947bawsMlRwGjvrTVRTQQIYRySN [email protected] | ||
sudo: ['ALL=(ALL) NOPASSWD:ALL'] | ||
groups: sudo, docker | ||
shell: /bin/bash | ||
|
||
## Disable password authentication with the SSH daemon | ||
ssh_pwauth: false | ||
|
||
## Update apt database and upgrade packages on first boot | ||
package_update: true | ||
package_upgrade: true | ||
|
||
## Install additional useful packages on first boot (extend and delete as required) | ||
packages: | ||
- git | ||
- curl | ||
- wget | ||
- nmap | ||
- net-tools | ||
- screen | ||
- htop | ||
- ncdu | ||
- tree | ||
- gcc | ||
- nginx | ||
- apache2-utils | ||
- python3-dev | ||
- python3-pip | ||
- python3-distutils | ||
- python3-virtualenv | ||
- python3-certbot-nginx | ||
- rng-tools | ||
- docker | ||
- docker-compose-v2 | ||
- nodejs | ||
- npm | ||
- vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Here we should put some playbooks for setting up machines via the DO CLI |