<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ansible on Jake Shaw</title><link>https://absent.org/tags/ansible/</link><description>Recent content in Ansible on Jake Shaw</description><image><title>Jake Shaw</title><url>https://absent.org/images/me-pixelated.jpeg</url><link>https://absent.org/images/me-pixelated.jpeg</link></image><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 24 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://absent.org/tags/ansible/feed.xml" rel="self" type="application/rss+xml"/><item><title>Back up your configuration on FortiGate 7.0 using Ansible (October 2023 Edition)</title><link>https://absent.org/posts/backup-fortigate-with-ansible/</link><pubDate>Tue, 24 Oct 2023 00:00:00 +0000</pubDate><guid>https://absent.org/posts/backup-fortigate-with-ansible/</guid><description>&lt;h2 id="install-and-setup-ansible"&gt;Install and setup Ansible&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html"&gt;Install and setup Ansible&lt;/a&gt;, ensuring that you have the full version that includes the &lt;a href="https://docs.ansible.com/ansible/latest/collections/fortinet/fortios/index.html"&gt;FortiOS collection&lt;/a&gt;. For detailed instructions, refer to existing YouTube videos and blog posts.&lt;/p&gt;
&lt;p&gt;Assuming you have Ansible set up, an inventory file with your Fortigate listed, let&amp;rsquo;s continue.&lt;/p&gt;
&lt;h2 id="creating-a-user-for-ansible"&gt;Creating a user for Ansible&lt;/h2&gt;
&lt;p&gt;Create a REST API user and name it something like &lt;code&gt;ansible_user&lt;/code&gt;. It will be set to &lt;code&gt;super_admin_readonly&lt;/code&gt; access by default.&lt;/p&gt;</description></item></channel></rss>