mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-22 13:11:29 +00:00
updates syntax and deprecated include statements
This commit is contained in:
parent
cdd0e25232
commit
77bebb1a08
@ -28,14 +28,13 @@
|
|||||||
# Install KVM packages
|
# Install KVM packages
|
||||||
- name: Installing KVM Packages
|
- name: Installing KVM Packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
state: present
|
|
||||||
with_items:
|
|
||||||
- qemu-kvm
|
- qemu-kvm
|
||||||
- libvirt
|
- libvirt
|
||||||
- libvirt-python
|
- libvirt-python
|
||||||
- libguestfs-tools
|
- libguestfs-tools
|
||||||
- virt-install
|
- virt-install
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Enable and Start libvirtd
|
- name: Enable and Start libvirtd
|
||||||
systemd:
|
systemd:
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
fail_msg: "We are missing users or ipa admin password"
|
fail_msg: "We are missing users or ipa admin password"
|
||||||
|
|
||||||
- name: "Start users"
|
- name: "Start users"
|
||||||
include: import-rockyusers.yml
|
import_playbook: import-rockyusers.yml
|
||||||
|
|
||||||
- name: "Start groups"
|
- name: "Start groups"
|
||||||
include: import-rockygroups.yml
|
import_playbook: import-rockygroups.yml
|
||||||
|
|
||||||
- name: "Start sudo for admins"
|
- name: "Start sudo for admins"
|
||||||
include: import-rockysudo.yml
|
import_playbook: import-rockysudo.yml
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
handlers:
|
handlers:
|
||||||
- include: handlers/main.yml
|
- import_tasks: handlers/main.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Check if ansible cannot be run here
|
- name: Check if ansible cannot be run here
|
||||||
@ -22,16 +22,16 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Loading Variables from OS Common
|
- name: Loading Variables from OS Common
|
||||||
include: tasks/variable_loader_common.yml
|
import_tasks: tasks/variable_loader_common.yml
|
||||||
|
|
||||||
- name: Configure SSH
|
- name: Configure SSH
|
||||||
include: tasks/ssh_config.yml
|
import_tasks: tasks/ssh_config.yml
|
||||||
|
|
||||||
- name: Configure harden settings
|
- name: Configure harden settings
|
||||||
include: tasks/harden.yml
|
import_tasks: tasks/harden.yml
|
||||||
|
|
||||||
- name: Configure PAM
|
- name: Configure PAM
|
||||||
include: tasks/authentication.yml
|
import_tasks: tasks/authentication.yml
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Touching run file that ansible has ran here
|
- name: Touching run file that ansible has ran here
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
handlers:
|
handlers:
|
||||||
- include: handlers/main.yml
|
- import_tasks: handlers/main.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Check if ansible cannot be run here
|
- name: Check if ansible cannot be run here
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
handlers:
|
handlers:
|
||||||
- include: handlers/main.yml
|
- import_tasks: handlers/main.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Check if ansible cannot be run here
|
- name: Check if ansible cannot be run here
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
handlers:
|
handlers:
|
||||||
- include: handlers/main.yml
|
- import_tasks: handlers/main.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Check if ansible cannot be run here
|
- name: Check if ansible cannot be run here
|
||||||
|
Loading…
Reference in New Issue
Block a user