Skip to content

Commit

Permalink
placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Sep 6, 2024
1 parent e93f434 commit 80ed249
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Ansible tasks for DOAJ

The symlink in the root `doaj -> ansible/` is for backward compatibility for old aliases

---

You'll need to have ansible installed. Tested on version 2.7.0

* Deploy new updates on the master branch to servers:
Expand Down
47 changes: 47 additions & 0 deletions cloud-init_userdata/or24_machines_cloud-config.txt
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
1 change: 1 addition & 0 deletions digitalocean_cli/README.md
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

0 comments on commit 80ed249

Please sign in to comment.