Jessica Wagantall | 79059b0 | 2018-07-20 20:30:09 -0700 | [diff] [blame] | 1 | --- |
2 | - import_playbook: ../common-packer/provision/baseline.yaml | ||||
3 | |||||
4 | - hosts: all | ||||
5 | become_user: root | ||||
6 | become_method: sudo | ||||
7 | |||||
8 | tasks: | ||||
Andrew Grimberg | a6b750c | 2023-05-03 08:47:44 -0700 | [diff] [blame] | 9 | - name: "Install Redis" |
Jessica Wagantall | 79059b0 | 2018-07-20 20:30:09 -0700 | [diff] [blame] | 10 | package: |
11 | name: redis | ||||
12 | state: present | ||||
Jessica Wagantall | d5ba546 | 2018-07-24 19:56:52 -0700 | [diff] [blame] | 13 | become: true |
Jessica Wagantall | 79059b0 | 2018-07-20 20:30:09 -0700 | [diff] [blame] | 14 | |
Andrew Grimberg | a6b750c | 2023-05-03 08:47:44 -0700 | [diff] [blame] | 15 | - name: "Enable service redis" |
Jessica Wagantall | 79059b0 | 2018-07-20 20:30:09 -0700 | [diff] [blame] | 16 | service: |
17 | name: redis | ||||
Andrew Grimberg | a6b750c | 2023-05-03 08:47:44 -0700 | [diff] [blame] | 18 | enabled: true |
Jessica Wagantall | d5ba546 | 2018-07-24 19:56:52 -0700 | [diff] [blame] | 19 | become: true |
Jessica Wagantall | a790698 | 2018-07-24 20:43:54 -0700 | [diff] [blame] | 20 | |
Andrew Grimberg | a6b750c | 2023-05-03 08:47:44 -0700 | [diff] [blame] | 21 | - name: "Start service redis" |
Jessica Wagantall | a790698 | 2018-07-24 20:43:54 -0700 | [diff] [blame] | 22 | service: |
23 | name: redis | ||||
24 | state: started | ||||
Jessica Wagantall | e153f19 | 2020-01-07 11:04:24 -0800 | [diff] [blame] | 25 | become: true |
26 | |||||
Jessica Wagantall | d38d111 | 2020-03-17 17:30:48 -0700 | [diff] [blame] | 27 | - name: Install Python 3.6 |
Jessica Wagantall | e153f19 | 2020-01-07 11:04:24 -0800 | [diff] [blame] | 28 | yum: |
29 | name: | ||||
Jessica Wagantall | d38d111 | 2020-03-17 17:30:48 -0700 | [diff] [blame] | 30 | - epel-release |
31 | - python36 | ||||
Andrew Grimberg | a6b750c | 2023-05-03 08:47:44 -0700 | [diff] [blame] | 32 | update_cache: true |
Jessica Wagantall | e153f19 | 2020-01-07 11:04:24 -0800 | [diff] [blame] | 33 | state: latest |
34 | become: true |