From 0f835844ba2756fda99cd5ca6d6c478f54ad355d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 2 Apr 2020 17:51:34 +0200 Subject: [PATCH] add bootstrap role and requirements 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 +++++++++++++++++++++ ansible/requirements.yml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 ansible/bootstrap.yml create mode 100644 ansible/requirements.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 diff --git a/ansible/requirements.yml b/ansible/requirements.yml new file mode 100644 index 0000000..55c30b9 --- /dev/null +++ b/ansible/requirements.yml @@ -0,0 +1,35 @@ +--- +- name: nginx + src: jdauphant.nginx + +- name: origin-certs + src: git@github.com:status-im/infra-role-origin-certs.git + scm: git + +- name: open-ports + src: git@github.com:status-im/infra-role-open-ports.git + scm: git + +- name: infra-role-tinc + src: git@github.com:status-im/infra-role-tinc.git + scm: git + +- name: infra-role-bootstrap + src: git@github.com:status-im/infra-role-bootstrap.git + scm: git + +- name: consul-service + src: git@github.com:status-im/infra-role-consul-service.git + scm: git + +- name: threatstack + src: git@github.com:status-im/infra-role-threatstack.git + scm: git + +- name: swap-file + src: git@github.com:status-im/infra-role-swap-file.git + scm: git + +- name: systemd-timer + src: git@github.com:status-im/infra-role-systemd-timer.git + scm: git