add bootstrap role and requirements

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-04-02 17:51:34 +02:00
parent 17dadb7563
commit 0f835844ba
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 56 additions and 0 deletions

21
ansible/bootstrap.yml Normal file
View File

@ -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

35
ansible/requirements.yml Normal file
View File

@ -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