mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-12-22 19:08:30 +00:00
Merge pull request #575 from dpavlos/update_syntax
Updates syntax and deprecated include statements
This commit is contained in:
commit
44a6ad9972
@ -28,14 +28,13 @@
|
||||
# Install KVM packages
|
||||
- name: Installing KVM Packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- qemu-kvm
|
||||
- libvirt
|
||||
- libvirt-python
|
||||
- libguestfs-tools
|
||||
- virt-install
|
||||
state: present
|
||||
|
||||
- name: Enable and Start libvirtd
|
||||
systemd:
|
||||
|
@ -19,10 +19,10 @@
|
||||
fail_msg: "We are missing users or ipa admin password"
|
||||
|
||||
- name: "Start users"
|
||||
include: import-rockyusers.yml
|
||||
import_playbook: import-rockyusers.yml
|
||||
|
||||
- name: "Start groups"
|
||||
include: import-rockygroups.yml
|
||||
import_playbook: import-rockygroups.yml
|
||||
|
||||
- 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
|
||||
handlers:
|
||||
- include: handlers/main.yml
|
||||
- import_tasks: handlers/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- name: Check if ansible cannot be run here
|
||||
@ -22,16 +22,16 @@
|
||||
|
||||
tasks:
|
||||
- name: Loading Variables from OS Common
|
||||
include: tasks/variable_loader_common.yml
|
||||
import_tasks: tasks/variable_loader_common.yml
|
||||
|
||||
- name: Configure SSH
|
||||
include: tasks/ssh_config.yml
|
||||
import_tasks: tasks/ssh_config.yml
|
||||
|
||||
- name: Configure harden settings
|
||||
include: tasks/harden.yml
|
||||
import_tasks: tasks/harden.yml
|
||||
|
||||
- name: Configure PAM
|
||||
include: tasks/authentication.yml
|
||||
import_tasks: tasks/authentication.yml
|
||||
|
||||
post_tasks:
|
||||
- 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
|
||||
handlers:
|
||||
- include: handlers/main.yml
|
||||
- import_tasks: handlers/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- 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
|
||||
handlers:
|
||||
- include: handlers/main.yml
|
||||
- import_tasks: handlers/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- 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
|
||||
handlers:
|
||||
- include: handlers/main.yml
|
||||
- import_tasks: handlers/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- name: Check if ansible cannot be run here
|
||||
|
Loading…
Reference in New Issue
Block a user