ansible-lint fixes for host group playbooks
This commit is contained in:
parent
112d51c67f
commit
2e97e2af9e
28 changed files with 281 additions and 204 deletions
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- import_playbook: "include/deploy-kvm-guest.yml myhosts=static"
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=static
|
||||
|
||||
- name: configure instance
|
||||
- name: Configure instance
|
||||
hosts: static
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
@ -21,13 +23,14 @@
|
|||
- apache
|
||||
|
||||
tasks:
|
||||
- name: allow apache to access nfs mounts from selinux
|
||||
seboolean:
|
||||
- name: Allow apache to access nfs mounts from selinux
|
||||
ansible.posix.seboolean:
|
||||
name: httpd_use_nfs
|
||||
state: true
|
||||
persistent: true
|
||||
- name: share role and home directories to apache
|
||||
copy:
|
||||
|
||||
- name: Share role and home directories to apache
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/httpd/conf.local.d/public_html.conf
|
||||
content: |
|
||||
UserDir enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue