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=print"
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=print
|
||||
|
||||
- name: configure instance
|
||||
- name: Configure instance
|
||||
hosts: print
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
@ -15,14 +17,15 @@
|
|||
- mkhomedir
|
||||
|
||||
tasks:
|
||||
- name: run handlers to get interfaces configured
|
||||
meta: flush_handlers
|
||||
- name: Run handlers to get interfaces configured
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- import_role:
|
||||
- name: Import dhcpd role
|
||||
ansible.builtin.import_role:
|
||||
name: dhcpd
|
||||
|
||||
- name: copy dns zone files
|
||||
copy:
|
||||
- name: Copy DNS zone files
|
||||
ansible.builtin.copy:
|
||||
dest: "/var/lib/unbound/{{ item }}"
|
||||
src: "/srv/dns/{{ item }}"
|
||||
mode: 0644
|
||||
|
@ -33,12 +36,17 @@
|
|||
with_items:
|
||||
- 24.20.172.in-addr.arpa
|
||||
- print.foo.sh
|
||||
- import_role:
|
||||
|
||||
- name: Install unbound role
|
||||
ansible.builtin.import_role:
|
||||
name: unbound
|
||||
|
||||
- import_role:
|
||||
- name: Install cups_server role
|
||||
ansible.builtin.import_role:
|
||||
name: cups_server
|
||||
- import_role:
|
||||
|
||||
- name: Install keytab for CUPS
|
||||
ansible.builtin.import_role:
|
||||
name: keytab
|
||||
vars:
|
||||
keytab: /etc/cups/cups.keytab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue