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=adm"
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=adm
|
||||
|
||||
- name: configure instance
|
||||
- name: Configure instance
|
||||
hosts: adm
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
@ -10,8 +12,8 @@
|
|||
- "{{ ansible_private }}/vars.yml"
|
||||
|
||||
pre_tasks:
|
||||
- name: mount /export
|
||||
mount:
|
||||
- name: Mount /export
|
||||
ansible.posix.mount:
|
||||
name: /export
|
||||
src: LABEL=/export
|
||||
fstype: xfs
|
||||
|
@ -34,8 +36,8 @@
|
|||
- web_build
|
||||
|
||||
tasks:
|
||||
- name: install packages
|
||||
package:
|
||||
- name: Install packages
|
||||
ansible.builtin.package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
with_items:
|
||||
|
@ -53,8 +55,8 @@
|
|||
- wget # still in backbone for downloads
|
||||
- whois # read whois data
|
||||
- yamllint # yaml linting
|
||||
- name: disable ip host key checking from ssh
|
||||
copy:
|
||||
- name: Disable IP host key checking from SSH
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
Host *.home.foo.sh
|
||||
CheckHostIP no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue