Start and enable services on boot on Linux remote hosts - Ansible module service_facts, service
Nov 3, 2022
How to list the available Linux services and automate the start and enable service on boot process with Ansible playbook. Included code and demo with "chronyd.service" NTP server on a RedHat Enterprise Linux 8.
https://www.ansiblepilot.com/articles/start-and-enable-services-on-boot-on-remote-hosts-ansible-module-service_facts-service/
Timestamps
00:00 Introduction
00:21 two Ansible modules: service_facts, service
01:49 Parameters of service_facts, service modules
03:29 demo playbook to start and enable services
06:48 playbook execution to start and enable services on Linux
11:18 Recap
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9
BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples
my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.udemy.com/course/ansible-by-examples-devops/?referralCode=8E065F6D6F8622A3DEC8
Show More Show Less #Networking
#VPN & Remote Access
#Software
