2019-05-27 12:56:29 +01:00
|
|
|
- name: 'Basics: Package installs'
|
2018-03-06 18:11:42 +00:00
|
|
|
tags:
|
|
|
|
- install
|
2019-05-27 12:56:29 +01:00
|
|
|
- basics
|
2018-03-06 18:11:42 +00:00
|
|
|
yum:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: latest
|
2019-01-20 10:51:09 +00:00
|
|
|
loop: "{{ server_packages }}"
|
2019-05-27 12:56:29 +01:00
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: 'Basics: Directories'
|
|
|
|
tags:
|
|
|
|
- basics
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- /srv
|
|
|
|
- /srv/app
|
|
|
|
- /srv/tmp
|
2019-10-12 19:50:49 +01:00
|
|
|
- /srv/etc
|
2019-05-27 12:56:29 +01:00
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: 'Basics: Temp dir perms'
|
|
|
|
tags:
|
|
|
|
- basics
|
|
|
|
file:
|
|
|
|
path: '/srv/tmp'
|
|
|
|
mode: '1777'
|
|
|
|
become: yes
|