infra-les/ansible/clean_les.yml

24 lines
464 B
YAML
Raw Normal View History

2018-11-24 11:32:34 +00:00
- name: Configure LES Geth nodes
hosts:
- les-main
- les-rops
gather_facts: false
tasks:
- name: Stop LES container
docker_container:
name: les-geth-full
state: stopped
- name: Clear LES data
file:
path: '/data/{{ item }}'
state: absent
with_items:
- geth
- geth.ipc
- name: Start LES container
docker_container:
name: les-geth-full
state: started