tpotce/cloud/ansible/openstack/deploy_tpot.yaml

31 lines
621 B
YAML
Raw Normal View History

2019-06-29 16:21:47 +00:00
- name: Check host prerequisites
hosts: localhost
become: yes
roles:
- check
2021-02-13 19:12:58 +00:00
- name: Deploy instances
2019-06-29 16:21:47 +00:00
hosts: localhost
2021-02-13 17:29:27 +00:00
vars_files: my_os_cloud.yaml
2021-02-13 19:12:58 +00:00
tasks:
- name: Create security group and network
ansible.builtin.include_role:
name: create_net
- name: Create one or more instances
ansible.builtin.include_role:
name: create_vm
loop: "{{ range(0, 1) }}"
loop_control:
extended: yes
2019-06-29 16:21:47 +00:00
2021-02-13 19:12:58 +00:00
- name: Install T-Pot
2021-02-13 14:27:36 +00:00
hosts: tpot
2019-06-29 16:21:47 +00:00
remote_user: linux
become: yes
gather_facts: no
roles:
- install
# - custom_ews
# - custom_hpfeeds
- reboot