--- # # 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: Verify Ansible versions hosts: all tags: always become: false run_once: true gather_facts: false tasks: - local_action: command ./versioncheck.py changed_when: false - name: Bootstrap Python support for Ansible become: true gather_facts: False hosts: all roles: - infra-role-bootstrap/raw - name: Bootstrap admin users and Consul become: true hosts: all roles: - infra-role-bootstrap