mirror of
https://github.com/trailofbits/algo
synced 2024-11-13 19:12:06 +00:00
15 lines
465 B
YAML
15 lines
465 B
YAML
- name: Install prerequisites
|
|
raw: sleep 10 && sudo apt-get update -qq && sudo apt-get install -qq -y python2.7
|
|
|
|
- name: Configure defaults
|
|
raw: sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
|
|
tags:
|
|
- update-alternatives
|
|
|
|
- name: Ensure the algo ssh key exist on the server
|
|
authorized_key:
|
|
user: "{{ ansible_ssh_user }}"
|
|
state: present
|
|
key: "{{ lookup('file', '{{ SSH_keys.public }}') }}"
|
|
tags: [ 'always' ]
|