This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserdata.yml
29 lines (28 loc) · 2.08 KB
/
userdata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#cloud-config
users:
- name: sym
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh-authorized-keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8BLM9LJVAdGFQYUeMvZ56Ll3sWUoPp3p+1zvIaqg73tn470fTgiQ6MOS/cKjbZqcN242H1Ih+oUDAkbMky2ks/9HaxAgxHsYoRBcSmeafq6x0JLhom72j5LC2zChMeyGLpt/6OfacPPL8PdZsW9V/sCzSQUD7AIc+/bgqpTIn/XfpTTMNUZi8qkoDMr53TgZhq70p5ZZp2z0IUSgkZ5LELxlOkhTRwA6ShYd1EWFsvLddze2vQUCZfSWecVoVejBRJ6jaOTecP866XSciQu6poab0brFCm3k0377UMljXYWCqs653xgK1xyrO2ezhicyKxszh77qfIrTMQdGL+wYz symroe@Syms-MacBook-Pro.local"
- name: chris
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh-authorized-keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDP700VjbnTIwRnOemtcJJGPr0Pgq8gOwhR4SVBR/50RVGddX7Jw9XqW8wMNmI93xZPV5YR5JfMlnvaMfAgHD1zdSBPs1lbx8MZahbVgBQTirLaHorjglzUXTBzLnnopC8DVt4IwFuh3vR71+rVn3vum8/fJAI7ISdBdkcDxHkv4zIa3I+sQ22YmflnzpJA/l1A7WJYTQUjLiDElijWHHwMQv86SBpxsHN3u3nEyaylrINDI3L4FTTnBWX+fF/Hxaobn98xiCas8Ho8Ecmvy/ZbP+GS7fJeKZmQCm0ROSCJ1LdAAydprAfYwMG8vPnut3fO7/8MxyT0PbYiiG4I9z7P chris@leonard"
- name: will
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh-authorized-keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqmadSaC7V0X0iIJMC/VvsfqkF7wHDeWKRVhOYkKcUCQfPD86GrJ5s/cywe2hRMyAhG6wQIybwQ2GAJJN/X3CMBqSTg9e+9QuFG5/pf2OOaAgCXkj9oAWMX0n71cFt9GxOKgykkO+2iYzbUO5STEcwApZEbmAYhVUKMltoNC+iB14+BBTnAdqHTMmIr5J8FnKyfhlall1CA5PgWDI0XDfpcrtL5NTVy1Kb3AJiu67agwOxZ3wLF9GH4g8GXvj2isitSnu2d7v50LxAIu8QdrsgAOFqzwhGkoGD4+Gn6TeosFZlMmEwe/1G6WZ687i271pyvQtINFjNI7kr3bT8JXeb will@will-XPS-15-9560"
- name: michael
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh-authorized-keys:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILGzzA3XH+RMqEe8jDnz/TvfDdicd1t2oBeRP0CAeuCY michael@macbookpro2021"
runcmd:
- "/var/www/every_election/env/bin/python /var/www/every_election/code/manage.py dumpdata elections election_snooper --indent 4 -o /var/www/every_election/code/every_election/data/elections.json"
- "chown every_election:every_election /var/www/every_election/code/every_election/data/elections.json"
{% if aws_env == 'test' %}
- "/etc/init.d/cron stop"
{% endif %}