Merge pull request #16913 from BrunoJu/master

提交翻译
This commit is contained in:
Xingyu.Wang 2020-01-04 21:13:25 +08:00 committed by GitHub
commit 627f9534a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 70 deletions

View File

@ -1,70 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (BrunoJu)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (10 Ansible resources to accelerate your automation skills)
[#]: via: (https://opensource.com/article/19/12/ansible-resources)
[#]: author: (James Farrell https://opensource.com/users/jamesf)
10 Ansible resources to accelerate your automation skills
======
Gear up and get crackin' with awesome Ansible automation skills this
year.
![Gears above purple clouds][1]
This year saw a wide range of really helpful Ansible articles. Whether you are just starting out with Ansible or a seasoned pro, there is something for everyone here to learn from.
A good number of these articles are worthy of your bookmarking and perhaps a cron (or maybe a Tower/AWX job) reminder to reread them periodically.
If you are new to Ansible, start with the following articles:
* [_A quickstart guide to Ansible_][2] has some good starter information as well as deeper dives into more advanced topics
* [_10 Ansible modules you need to know_][3] and [_5 ops tasks to do with Ansible_][4] review some of the more fundamental functions that every Ansible admin should be familiar with
* [_How to use Ansible to document procedures_][5] also presents a survey of additional topics you might find it interesting to follow up on
The remainder of these articles cover more advanced topics like Windows management, testing, hardware, cloud, and containers—and even a case study in managing the demands of tech-curious children.
I hope you enjoyed this Ansible year as much as I did. Never stop learning!
1. _[How Ansible brought peace to my home][6]_ is a whimsical case study in applying Ansible skills to quickly provision new (or rather old) laptops for my children.
2. _[Ansible for the Windows admin][7]_ by Taz Brown and Abner Malivert: Did you know Ansible can manage Windows nodes as well? This piece reviews basic Ansible server and Windows client setups with an example on how to deploy an IIS server.
3. _[10 Ansible modules you need to know][3]_ by Shashank Hegde is a great place to start for some of the most common and basic Ansible modules all admins should know. Running commands, installing packages, and handling files are the basis for many useful automation plays.
4. _[How to use Ansible to document procedures][5]_ by Marco Bravo: Ansibles YAML files make for easy reading, so much so that they can be used to document the manual steps needed to accomplish a task. This makes your work easier to debug and extend later on. Also contained in this article are pointers on related topics like testing and analysis.
5. _[Using Testinfra with Ansible to verify server state][8]_ by Clement Verna: Testing is an integral part of any CI/CD DevOps pipeline, so why not test Ansibles results as well? This primer on Testinfra can be used to help check the configuration results you need.
6. _[Hardware bootstrapping with Ansible][9]_ by Mark Phillips: Not all the world is containers and virtual machines. Many of us sysadmins still have significant hardware deployments to manage. With a little PXE dust and DHCP magic (among other tidbits), you can create a convenient framework using Ansible to get real hardware up and running easily.
7. _[What you need to know about Ansible modules][10]_ by Jairo da Silva Junior: Modules bring real power to Ansible. Many modules are already available, but when there is none, you may need to roll your own. Read this article to look a bit deeper into how modules are made.
8. _[5 ops tasks to do with Ansible][4]_ by Mark Phillips: This is another more basic review of Ansible use to manage common system operations tasks. The draw here is the list of examples given in Tower (or AWX) instead of the old familiar command line.
9. _[A quickstart guide to Ansible][2]_ by Chris Short is a great PDF download that you should keep on hand and reread from time to time. It begins with a great primer to get started in Ansible. It also covers other areas of interest including Molecule testing, sysadmin tasks, and Kubernetes object management, to name a few.
10. _[An Ansible reference guide, CI/CD with Ansible Tower and GitHub, and more news][11]_ by Mark Phillips: This is a monthly round-up article full of interesting links to follow. Topics span Ansible basics, managing Netapp E-Series storage, debugging, patching, and more. Videos are included here as well as some pointers to Ansible meetup groups. Check it out!
Let us know if you had a favorite Ansible article this year and why in the comments.
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/12/ansible-resources
作者:[James Farrell][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/jamesf
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/chaos_engineer_monster_scary_devops_gear_kubernetes.png?itok=GPYLvfVh (Gears above purple clouds)
[2]: https://opensource.com/article/19/2/quickstart-guide-ansible
[3]: https://opensource.com/article/19/9/must-know-ansible-modules
[4]: https://opensource.com/article/19/8/ops-tasks-ansible
[5]: https://opensource.com/article/19/4/ansible-procedures
[6]: https://opensource.com/article/19/9/ansible-documentation-kids-laptops
[7]: https://opensource.com/article/19/2/ansible-windows-admin
[8]: https://opensource.com/article/19/5/using-testinfra-ansible-verify-server-state
[9]: https://opensource.com/article/19/5/hardware-bootstrapping-ansible
[10]: https://opensource.com/article/19/3/developing-ansible-modules
[11]: https://opensource.com/article/19/7/ansible-news-edition-one

View File

@ -0,0 +1,65 @@
[#]: collector: (lujun9972)
[#]: translator: (BrunoJu)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (10 Ansible resources to accelerate your automation skills)
[#]: via: (https://opensource.com/article/19/12/ansible-resources)
[#]: author: (James Farrell https://opensource.com/users/jamesf)
提升自动化技巧的10大Ansible资源
======
今年准备好用出色的Ansible自动化技能装备自己的技能包吧。
![Gears above purple clouds][1]
今年我关注了大量关于Ansible的文章以下这些内容都值得每个人学习无论是否是Ansible的新手。
这些文章值得大家标记为书签或者设置个计划任务亦或者是设置一个Tower/AWX job用来提醒自己常读常新。
如果你是Ansible的新手那么就从这些文章开始着手吧
* [_A quickstart guide to Ansible_][2] 拥有一些对新手非常有用的信息,同时还有一些更高级的话题。
* [_10 Ansible modules you need to know_][3] 和 [_5 ops tasks to do with Ansible_][4] 这篇文章有每一位Ansible的管理者都应该熟悉并认真研习的一些最基础的Ansible功能
* [_How to use Ansible to document procedures_][5] 这篇文章是对一些额外话题的纵览,我猜你一定会感到很有趣。
剩余的这些文章包含了更多高级的话题比如Windows管理测试、硬件、云和容器甚至包括了一个案例研究如何管理那些对技术有兴趣的孩子的需求。
我希望你能像我一样好好享受Ansible带来的乐趣。不要停止学习哦
1. _[How Ansible brought peace to my home][6]_ 这个异想天开的案例你能看到如何利用Ansible为孩子们快速部署一个新的笔记本或者重装旧笔记本
2. _[Ansible for the Windows admin][7]_ 你知道Ansible也可以管理Windows的节点吗这篇文章以部署一个IIS为案例阐述了基础的Ansible服务器和Windows客户端的安装。
3. _[10 Ansible modules you need to know][3]_ 这是个学习你最应该知道的那些最常见最基础Ansible模块的好文章。执行命令、安装系统包和操作文件是许多有用的自动化工作的基础。
4. _[How to use Ansible to document procedures][5]_  Ansible的YAML文件易于阅读因此它们可以被用于记录完成任务所需的手动步骤。这一特性可以帮助你调试与扩展这令工作变得异常轻松。同时这篇文章还包含关于测试和分析等Ansible相关主题的指导。
5. _[Using Testinfra with Ansible to verify server state][8]_ 测试环节是任何一个 CI/CD 开发型运维场景不可或缺的一部分。所以为什么不把测试Ansible的运行结果也纳入其中呢这个有关于Ansible测试架构的入门级文章可以被用来帮助你配置。
6. _[Hardware bootstrapping with Ansible][9]_ 这个世界并不是完全已经被容器和虚拟机所占据。许多系统管理员仍然需要管理众多硬件资源。通过Ansible与PXE、DHCP以及其他一些技术的结合你可以创建一个简单的管理框架对硬件实施控制。
7. _[What you need to know about Ansible modules][10]_ 模块给Ansible带来了巨大的潜力许多模块我们已经可以拿来利用。但如果没有你所需的模块那你可以尝试给自己造一个。看看这篇文章吧它能让你了解如何从零开始打造自己所需的模块。
8. _[5 ops tasks to do with Ansible][4]_ 这是另一个有关于如何使用Ansible来管理常见的系统操作任务的文章。这里描述了一系列可以取代命令行操作的TowerAWX)的案例。
9. _[A quickstart guide to Ansible][2]_ 这篇文章是个可以下载的PDF文档。它可以作为一本随时拿来翻阅的手册。这篇文章的开头有助于初学者入门。同时还包括了一些其他的研究领域比如模块测试、系统管理任务和针对K8S对象的管理。
10. _[An Ansible reference guide, CI/CD with Ansible Tower and GitHub, and more news][11]_ 这是一篇每月进行总结更新的文章充满了有趣的链接。话题包括了Ansible的基础内容、管理Netapp的E系列存储产品、调试、打补丁包和其他一些相关内容。文章中还包括了一些视频以及指导性文章的链接。击这里查看详情
如果你也有一些你喜爱的Ansible文章那请留言告诉我们吧。
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/12/ansible-resources
作者:[James Farrell][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/BrunoJu)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/jamesf
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/chaos_engineer_monster_scary_devops_gear_kubernetes.png?itok=GPYLvfVh (Gears above purple clouds)
[2]: https://opensource.com/article/19/2/quickstart-guide-ansible
[3]: https://opensource.com/article/19/9/must-know-ansible-modules
[4]: https://opensource.com/article/19/8/ops-tasks-ansible
[5]: https://opensource.com/article/19/4/ansible-procedures
[6]: https://opensource.com/article/19/9/ansible-documentation-kids-laptops
[7]: https://opensource.com/article/19/2/ansible-windows-admin
[8]: https://opensource.com/article/19/5/using-testinfra-ansible-verify-server-state
[9]: https://opensource.com/article/19/5/hardware-bootstrapping-ansible
[10]: https://opensource.com/article/19/3/developing-ansible-modules
[11]: https://opensource.com/article/19/7/ansible-news-edition-one