更新时间:2021-07-23 16:38:18
封面
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
Ansible Inventory and Playbook
Basic Ad hoc commands on Ansible
Ansible inventory
Ansible playbook
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