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,14 +1,16 @@
|
|||
---
|
||||
- import_playbook: "include/deploy-kvm-guest.yml myhosts=munin"
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=munin
|
||||
|
||||
- name: configure instance
|
||||
- name: Configure instance
|
||||
hosts: munin
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
||||
pre_tasks:
|
||||
- name: mount /export
|
||||
mount:
|
||||
- name: Mount /export
|
||||
ansible.posix.mount:
|
||||
name: /export
|
||||
src: LABEL=/export
|
||||
fstype: xfs
|
||||
|
@ -30,8 +32,8 @@
|
|||
- munin_server
|
||||
|
||||
tasks:
|
||||
- name: require authentication for munin web
|
||||
copy:
|
||||
- name: Require authentication for munin web
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/httpd/conf.local.d/munin-auth.conf
|
||||
content: |
|
||||
<Location />
|
||||
|
@ -43,4 +45,4 @@
|
|||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart apache
|
||||
notify: Restart apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue