Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora - Get the latest Ansible 2.8 in Fedora

#1
Get the latest Ansible 2.8 in Fedora

<div><p>Ansible is one of the most popular automation engines in the world. It lets you automate virtually anything, from setup of a local system to huge groups of platforms and apps. It’s cross platform, so you can use it with all sorts of operating systems. Read on for more information on how to get the latest Ansible in Fedora, some of its changes and improvements, and how to put it to use.</p>
<p> <span id="more-28407"></span> </p>
<h2>Releases and features</h2>
<p>Ansible 2.8 was recently released with many fixes, features, and enhancements. It was available in Fedora mere days afterward as an official update in Fedora 29 and 30, as well as EPEL. The follow-on version 2.8.1 released two weeks ago. Again, the new release was available within a few days in Fedora.</p>
<p>Installation is, of course, easy to do from the official Fedora repositories <a href="https://fedoramagazine.org/howto-use-sudo/">using sudo</a>:</p>
<pre class="wp-block-preformatted">$ sudo dnf -y install ansible</pre>
<p>The 2.8 release has a long list of changes, and you can read them in the <a href="https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html">Porting Guide for 2.8</a>. But they include some goodies, such as <em>Python interpreter discovery.</em> Ansible 2.8 now tries to figure out which Python is preferred by the platform it runs on. In cases where that fails, Ansible uses a fallback list. However, you can still use a variable <em>ansible_python_interpreter</em> to set the Python interpreter.</p>
<p>Another change makes Ansible more consistent across platforms. Since <em>sudo</em> is more exclusive to UNIX/Linux, and other platforms don’t have it, <em>become</em> is now used in more places. This includes command line switches. For example, <em>–ask-sudo-pass</em> has become <em>–ask-become-pass</em>, and the prompt is now <em>BECOME password:</em> instead.</p>
<p>There are many more features in the 2.8 and 2.8.1 releases. Do check out the <a href="https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst">official changelog on GitHub</a> for all the details.</p>
<h2>Using Ansible</h2>
<p>Maybe you’re not sure if Ansible is something you could really use. Don’t worry, you might not be alone in thinking that, because it’s so powerful. But it turns out that it’s not hard to use it even for simple or individual setups like a home with a couple computers (or even just one!). </p>
<p>We covered this topic earlier in the Fedora magazine as well:</p>
<figure class="wp-block-embed is-type-rich is-provider-fedora-magazine">
<div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="P8AR0Np1yg"><p><a href="https://fedoramagazine.org/using-ansible-setup-workstation/">Using Ansible to set up a workstation</a></p></blockquote>
</div>
</figure>
<p>Give Ansible a try and see what you think. The great part about it is that Fedora stays quite up to date with the latest releases. Happy automating!</p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016