converge.yml - ansible-roles - A collection of ansible roles I have created over the years.
(HTM) git clone git://jay.scot/ansible-roles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
converge.yml (360B)
---
1 ---
2 - name: Converge
3 hosts: all
4
5 pre_tasks:
6 - name: Update apt cache.
7 apt: update_cache=true cache_valid_time=600
8 changed_when: false
9 when: ansible_os_family == 'Debian'
10
11 roles:
12 - role: jayscott.searx
13
14 post_tasks:
15 - name: Verify searx is listening.
16 uri:
17 url: "http://localhost:8888"
18 status_code: 200