48efc618e4
* Removed obsolete upgradable-wo-parity. * Renamed deployment-bridge/bridge-nodejs to deployment-bridge/oracle * Renamed deployment-bridge to deployment. * Added linting to readme. * Added linting. * Migrated circle-ci to 2.1 * Revert "Migrated circle-ci to 2.1" 2ce36b1934c02e2c6900884ac932d6bfdbffc3cb * Ansible-linting only bugs. * Updated readme, finished ansible-lint. * Fixed CI error. * Verbose. * Using differnt docker. * Linting only bugs. * Revert "Added linting to readme." b5890b884750fe8a7ebe4c1c1361b2a60b1690f9 * Added readme for merging.
20 lines
769 B
YAML
20 lines
769 B
YAML
- name: Install python if necessary
|
|
hosts: all
|
|
gather_facts: false
|
|
become: true
|
|
tasks:
|
|
- name: Install python
|
|
raw: "test -e {{ ansible_python_interpreter | default ('/usr/bin/python') }} || (sudo apt -y update && sudo apt install -y python-minimal)"
|
|
tags: install_dependencies
|
|
|
|
- name: Install bridge
|
|
hosts: all
|
|
roles:
|
|
- { role: dependencies, tags: install_dependencies, become: true }
|
|
- { role: repo, tags: clone_repo, become: true }
|
|
- { role: pre_config, tags: pre_config, become: true }
|
|
- { role: jumpbox, tags: launch_jumpbox, become: true }
|
|
- { role: post_config, tags: post_config, become: true }
|
|
- { role: logging, tags: set_logging, become: true}
|
|
- { role: servinstall, tags: install_service, become: true }
|