Add role for adding docker nodes to swarm

This commit is contained in:
2021-11-10 21:59:04 -05:00
parent 8c69b7af95
commit a0be654b92
8 changed files with 217 additions and 9 deletions

View File

@@ -15,6 +15,7 @@
tasks:
- include_tasks: tasks/meta/bootstrap-remote-env.yaml
- name: Configure hosts by role
hosts: linux
gather_facts: false
@@ -23,3 +24,5 @@
when: "'server' in skylab_roles | default([])"
- role: datastore
when: "'datastore' in skylab_roles | default([])"
- role: swarm
when: "'swarm' in skylab_roles | default([])"