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 (532B)
---
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 - name: Create directory for testing
12 file:
13 path: /var/www/html
14 state: directory
15 mode: '0755'
16
17 - name: "Creat test index.html file"
18 copy:
19 content: "Quark test instance"
20 dest: /var/www/html/index.html
21 force: true
22 mode: 0744
23
24 roles:
25 - role: jayscott.quark