This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/ansible/cluster_nodes.yml

32 lines
890 B
YAML
Raw Normal View History

2019-06-01 14:02:49 +00:00
---
- hosts: cluster_nodes
roles:
- role: common
tags: base
- role: users
tags: account
# UNSAFE!! This section is disabled by default, to run it the flags -t net should be added
# to the ansible playbook command line.
# Reason: when rules.{v4,v6} are changed, the whole iptables configuration is reloaded.
# This creates issues with Docker, which injects its own configuration in iptables when it starts.
# In practice, most (all?) containers will break if rules.{v4,v6} are changed,
# and docker will have to be restared.
- hosts: cluster_nodes
roles:
- role: network
tags: [ net, never ]
2019-06-01 14:02:49 +00:00
- hosts: cluster_nodes
serial: 1
roles:
2019-06-01 14:02:49 +00:00
- role: consul
tags: kv
- role: nomad
tags: orchestrator
# UNSAFE!! This section configures glusterfs. Once done, don't run it ever again as it may break stuff.
2020-02-16 19:05:47 +00:00
# - role: storage
# tags: sto