2019-03-21 11:00:53 +00:00
|
|
|
---
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2021-05-10 13:29:38 +00:00
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
|
|
|
|
2019-03-21 11:00:53 +00:00
|
|
|
- name: Bootstrap Python support for Ansible
|
2021-02-09 19:27:13 +00:00
|
|
|
become: true
|
2019-03-21 11:00:53 +00:00
|
|
|
gather_facts: False
|
|
|
|
hosts: all
|
|
|
|
roles:
|
2021-07-28 10:27:58 +00:00
|
|
|
- infra-role-bootstrap-linux/raw
|
2019-03-21 11:00:53 +00:00
|
|
|
|
|
|
|
- name: Bootstrap admin users and Consul
|
2021-02-09 19:27:13 +00:00
|
|
|
become: true
|
2019-03-21 11:00:53 +00:00
|
|
|
hosts: all
|
|
|
|
roles:
|
2021-07-28 10:27:58 +00:00
|
|
|
- infra-role-bootstrap-linux
|