blob: e71bb087092fdd5cb97087ea2bce8ec06af8cd0e [file] [log] [blame]
# Does the absolute minimum for a jumphost.
#
# Once this is run then the 'jumphost.yml' playbook can be run to finish/update the
# machine.
- hosts: jumphosts
user: root
gather_facts: false
pre_tasks:
# First install python3 and sudo so we can use more issue more than 'raw' commands.
- name: install python3 and sudo
raw: 'apt update && apt -y install sudo python3'
# We can gather facts now that python3 is installed.
# Needed for create_chrome_bot_user.
- name: gather facts
setup:
roles:
- set_root_password
- create_chrome_bot_user
- copy_authorized_keys