From 5333f49a7ff44ffe9d774ff005f958ab1dbff9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 21 Mar 2019 12:00:53 +0100 Subject: [PATCH] add bootstrap playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/bootstrap.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ansible/bootstrap.yml diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml new file mode 100644 index 0000000..7f9486b --- /dev/null +++ b/ansible/bootstrap.yml @@ -0,0 +1,21 @@ +--- +# +# This playbook configures most basic things about the hosts: +# +# - Admin and Additional users +# - Disables root login +# - Installs Common packages +# - Starts Consul client agent +# +# This is run on every newly provisioned host. +# +- name: Bootstrap Python support for Ansible + gather_facts: False + hosts: all + roles: + - infra-role-bootstrap/raw + +- name: Bootstrap admin users and Consul + hosts: all + roles: + - infra-role-bootstrap