diff --git a/ansible/README.md b/ansible/README.md index 30ce151..65f9944 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -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: diff --git a/cloud-init_userdata/or24_machines_cloud-config.txt b/cloud-init_userdata/or24_machines_cloud-config.txt new file mode 100755 index 0000000..e6ed64a --- /dev/null +++ b/cloud-init_userdata/or24_machines_cloud-config.txt @@ -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 steve@cottagelabs.com + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP1IbOCzPJCBBQcDsutoUB3vHzYZ7bIKbNmeeiXW8DWx hrafn@cottagelabs.com + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEYTmr8Il/pVEkBtj947bawsMlRwGjvrTVRTQQIYRySN anusha@cottagelabs.com + 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 diff --git a/digitalocean_cli/README.md b/digitalocean_cli/README.md new file mode 100644 index 0000000..fd552be --- /dev/null +++ b/digitalocean_cli/README.md @@ -0,0 +1 @@ +Here we should put some playbooks for setting up machines via the DO CLI