Restructure a bit the secondary01 playbook
This commit is contained in:
parent
6bc652b8fb
commit
ec74b9d487
1 changed files with 20 additions and 25 deletions
|
@ -60,32 +60,27 @@
|
|||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: clean yum metadata
|
||||
- name: Set up the rest of the box as desired
|
||||
hosts: secondary01
|
||||
user: root
|
||||
gather_facts: False
|
||||
action: yum clean all
|
||||
tags:
|
||||
- packages
|
||||
gather_facts: True
|
||||
|
||||
- name: install needed packages
|
||||
hosts: secondary01
|
||||
user: root
|
||||
gather_facts: False
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- nfs-utils
|
||||
- koji
|
||||
tags:
|
||||
- packages
|
||||
- name: clean yum metadata
|
||||
action: yum clean all
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: set sebooleans so httpd can use nfs
|
||||
hosts: secondary01
|
||||
user: root
|
||||
gather_facts: False
|
||||
action: seboolean name={{ item }}
|
||||
state=true
|
||||
persistent=true
|
||||
with_items:
|
||||
- httpd_use_nfs
|
||||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- nfs-utils
|
||||
- koji
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: set sebooleans so httpd can use nfs
|
||||
action: seboolean name={{ item }}
|
||||
state=true
|
||||
persistent=true
|
||||
with_items:
|
||||
- httpd_use_nfs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue