Home Page Icon
Home Page
Table of Contents for
Linux storage modules
Close
Linux storage modules
by Mohamed Alibi
Ansible Quick Start Guide
Title Page
Copyright and Credits
Ansible Quick Start Guide
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
What is Ansible?
The IT configuration management market
Ansible: simple, lightweight, and powerful
 Ansible orchestration and automation
Orchestration
Automate everything
Provisioning
Configuration management
Application deployment
Continuous delivery and continuous integration
Ansible project and Ansible Tower
Ansible project
Ansible Tower
Summary
References
Ansible Setup and Configuration
Ansible master node installation
Prerequisites
Red Hat, CentOS, and Fedora package installation
Debian package installation
Ubuntu package installation
macOS X package installation
Python PyPI installation
Source GitHub or tarball installation
Ansible Docker container installation
Ansible instance on AWS
Master node essential configuration
Linux client node configuration
Windows client node configuration
Summary
References
Ansible Inventory and Playbook
Basic Ad hoc commands on Ansible
Ansible inventory
Ansible playbook
Summary
References
Ansible Modules
Ansible modules overview
Ad hoc versus playbook: the ping module
Ad hoc versus playbook: the win_reboot module
ad-hoc versus playbook: the copy module
Ansible module return values
Ansible Linux modules
Linux system modules
The user management module
The group management module
The hostname module
The sysctl control module
The service management module
The systemd module
The kernel blacklist management module
The cron job editing module
The SSH authorized keys management module
The Git usage module
The SELinux control module
Linux commands modules
Running the raw command module
The command execution module 
The shell command module
The script execution module
The expect script module
Linux package modules
Apt package manager module
DNF package manager module
Yum package manager module
Homebrew package manager
PyPI Python package manager module
Cpanm Perl package manager module
Linux file modules
File and folder management modules
Data distribution modules (copy, unarchive, and get_url)
Data collection module (fetch)
File editing modules (lineinfile, replace, and blockinfile)
Linux networking modules
Network interfaces management module
Firewall UFW management module
HAProxy control module
Wake-on-LAN trigger module
Linux storage modules
File system management module
Device mounting module 
Disk partitioning module
GlusterFS control module
Ansible Windows modules
Windows System Modules
Windows user and group management module
Windows register editing module
Windows service management module
Windows updates and feature management modules (win_updates, win_hotfix, and win_feature)
Windows Wake-on-LAN trigger module
Windows firewall management module
Windows package modules
Chocolatey control module
Windows package manager
Windows command modules
Windows command modules (win_shell and win_command)
Windows task scheduling module
Windows file modules
Windows file and folder management module
Windows data sharing module
Windows file editing module
Windows data sending modules (win_copy, win_robocopy, and win_get_url)
Ansible network modules
Network data transfer modules (net_get and network_put)
Cisco IOS command module
Cisco ISO system configuration module
Cisco IOS interface management module
Cisco IOS static route control module
Cisco IOS VLAN management module
Ansible cloud modules
VMware modules
VMware guest management modules (vmware_guest and vsphere_guest)
VMware guest snapshot management module
VMware virtual machine shell execution module
VMware host power state control module
Docker modules
Docker container management module
Docker image management module
Docker login module
Amazon AWS modules
AWS EC2 instance management module
AWS WC2 AMI management module
AWS EC2 key management module
Summary
References
Ansible Automated Infrastructure
Linux infrastructure automation
System management automation
Use case 1 – system update automation
Use case 2 – creating a new user with all its settings
Use case 3 – services (systemd) management
Use case 4 – automated network drive mounting (NFS, SMB)
Use case 5 – automated backup of important documents
Automation of applications and service
Use case 1 – setting up a Linux desktop environment with some pre-installed tools
Use case 2 – LAMP server setup and configuration
Windows infrastructure automation
System management automation
Use case 1 – system update automation
Use case 2 – automated Windows optimization
Application and services automation
Use case 1 – automating Windows application management
Use case 2 – setting up an NSclient Nagios client
Network automation
Use case 1 – automated patching of network devices
Use case 2 – adding a new configuration in network devices
Automation of the cloud and container infrastructure
VMware automation
Use case 1 – creating virtual machines from a template
Use case 2 – ESXi hosts and cluster management
Summary
References
Ansible Coding for Configuration Management
Ansible configuration management coding standards
Playbook and task naming
YAML syntax usage for playbooks
The become feature
Group organization
Using handlers
Password usage in playbooks
Playbook version control
Making Ansible roles where possible
Ansible coding best practices
Using comments in playbooks
Playbook files and folder naming
Avoiding the use of command modules
Avoiding ignoring module errors
Using Ansible conditions
Using Ansible loops
Using template files
Stating task status
Shared storage space for data tasks
Ansible roles
What are Ansible roles?
The tasks folder
The handlers folder
The vars folder
The templates folder
The defaults folder
The files folder
The meta folder
The test folder
The README folder/file
Creating Ansible roles
Using Ansible roles
Summary
References
Ansible Galaxy and Community Roles
Ansible Galaxy
The Ansible Galaxy hub
The Ansible Galaxy command line
Galaxy contribution – role importation
What to do before role submission
Role repository
Ansible Galaxy role management
Ansible Galaxy role search
Ansible Galaxy role installation 
Ansible Galaxy role troubleshooting
Summary
References
Ansible Advanced Features
Ansible Vault
What is Ansible Vault?
Using Ansible Vault
Best practices when using Ansible Vault
Ansible Container
What is Ansible Container?
Using Ansible Container
Example Ansible container
Ansible plugins
What are Ansible plugins?
Developing Ansible plugins
Summary
References
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Wake-on-LAN trigger module
Next
Next Chapter
File system management module
Linux storage modules
Ansible does offer some Linux-specific storage devices and volume management.
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset