blob: 495566c11e16eeafd6cf93302e94a0e0a1872405 [file] [log] [blame]
Jessica Wagantall79059b02018-07-20 20:30:09 -07001---
2- import_playbook: ../common-packer/provision/baseline.yaml
3
4- hosts: all
5 become_user: root
6 become_method: sudo
7
8 tasks:
9 - name: 'Install Redis'
10 package:
11 name: redis
12 state: present
Jessica Wagantalld5ba5462018-07-24 19:56:52 -070013 become: true
Jessica Wagantall79059b02018-07-20 20:30:09 -070014
15 - name: 'Enable service redis'
16 service:
17 name: redis
Jessica Wagantalla7906982018-07-24 20:43:54 -070018 enabled: yes
Jessica Wagantalld5ba5462018-07-24 19:56:52 -070019 become: true
Jessica Wagantalla7906982018-07-24 20:43:54 -070020
21 - name: 'Start service redis'
22 service:
23 name: redis
24 state: started
25 become: true