blob: 698665f3ff83c62bd84c377d096c408ad78f80ba [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:
Andrew Grimberga6b750c2023-05-03 08:47:44 -07009 - name: "Install Redis"
Jessica Wagantall79059b02018-07-20 20:30:09 -070010 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
Andrew Grimberga6b750c2023-05-03 08:47:44 -070015 - name: "Enable service redis"
Jessica Wagantall79059b02018-07-20 20:30:09 -070016 service:
17 name: redis
Andrew Grimberga6b750c2023-05-03 08:47:44 -070018 enabled: true
Jessica Wagantalld5ba5462018-07-24 19:56:52 -070019 become: true
Jessica Wagantalla7906982018-07-24 20:43:54 -070020
Andrew Grimberga6b750c2023-05-03 08:47:44 -070021 - name: "Start service redis"
Jessica Wagantalla7906982018-07-24 20:43:54 -070022 service:
23 name: redis
24 state: started
Jessica Wagantalle153f192020-01-07 11:04:24 -080025 become: true
26
Jessica Wagantalld38d1112020-03-17 17:30:48 -070027 - name: Install Python 3.6
Jessica Wagantalle153f192020-01-07 11:04:24 -080028 yum:
29 name:
Jessica Wagantalld38d1112020-03-17 17:30:48 -070030 - epel-release
31 - python36
Andrew Grimberga6b750c2023-05-03 08:47:44 -070032 update_cache: true
Jessica Wagantalle153f192020-01-07 11:04:24 -080033 state: latest
34 become: true