<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MasaWorkout</title>
    <description>The latest articles on DEV Community by MasaWorkout (@maaaato).</description>
    <link>https://dev.to/maaaato</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F321840%2Fce02c528-f0dd-4dbc-bc06-90ea2317052c.jpg</url>
      <title>DEV Community: MasaWorkout</title>
      <link>https://dev.to/maaaato</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maaaato"/>
    <language>en</language>
    <item>
      <title>Introduce AWS Systems Manager and IAM authentication of RDS</title>
      <dc:creator>MasaWorkout</dc:creator>
      <pubDate>Wed, 04 Mar 2020 13:37:48 +0000</pubDate>
      <link>https://dev.to/maaaato/introduce-aws-systems-manager-and-iam-authentication-of-rds-dp9</link>
      <guid>https://dev.to/maaaato/introduce-aws-systems-manager-and-iam-authentication-of-rds-dp9</guid>
      <description>&lt;p&gt;A last year, I introduced AWS resource to co-workers. &lt;br&gt;
Then I made a document about the resources and uploaded it to slideshare.&lt;br&gt;
If you would like, you can see that😉&lt;/p&gt;

&lt;p&gt;&lt;iframe src="//www.slideshare.net/slideshow/embed_code/key/xJXscP1iJWFcyM" alt="xJXscP1iJWFcyM on slideshare.net" width="100%" height="450"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ssm</category>
      <category>rds</category>
    </item>
    <item>
      <title>How do I use Amazon Linux 1 image on Vagrant?</title>
      <dc:creator>MasaWorkout</dc:creator>
      <pubDate>Sun, 16 Feb 2020 13:17:58 +0000</pubDate>
      <link>https://dev.to/maaaato/how-do-i-use-amazon-linux-1-image-on-vagrant-14bk</link>
      <guid>https://dev.to/maaaato/how-do-i-use-amazon-linux-1-image-on-vagrant-14bk</guid>
      <description>&lt;p&gt;Sometimes, I want to use Amazon Linux 1 image on Vagrant. it because Our team uses Amazon Linux 1 image on development and production. So, I'd like to introduce how do use Amazon Linux 1 image but so simple.&lt;/p&gt;

&lt;p&gt;Environment&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Mac OS 10.14.5
vagrant --version
Vagrant 2.2.4
virtualbox 6.0.4 r128413 (Qt5.6.3)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Please install vagrant and VirtualBox before install command.&lt;br&gt;
Let's install.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vagrant init mvbcoding/awslinux
vagrant up
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;It's super simple, right?&lt;br&gt;
I read this blog.&lt;br&gt;
&lt;a href="https://techblog.recochoku.jp/5048"&gt;Vagrantでお手軽にAmazon Linuxの仮想マシンを立てる&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vagrant</category>
      <category>amazonlinux</category>
    </item>
    <item>
      <title>I tried Ansible-lint quickly</title>
      <dc:creator>MasaWorkout</dc:creator>
      <pubDate>Sun, 16 Feb 2020 13:05:32 +0000</pubDate>
      <link>https://dev.to/maaaato/i-tried-ansible-lint-quickly-1fmf</link>
      <guid>https://dev.to/maaaato/i-tried-ansible-lint-quickly-1fmf</guid>
      <description>&lt;p&gt;I know Ansible-lint recently. I tried it right away and I think want to write a blog.Ansible-lint is a sentence structure check tool. By use it, we get beautiful playbook.&lt;br&gt;
I write to introduce Ansible-lint right away.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install ansible-lint
pip list
&amp;gt;ansible-lint                           4.1.0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;This is sample playbook.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- name: example
  action: ec2_metadata_facts
  when: production == True
- debug: var=ansible_ec2_instance_id
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;I got this result after I apply Ansible-lint to this playbook.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[601] Don't compare to literal True/False
roles/common/tasks/main.yml:3
  when: production == True
601 is error number. By reading this link, I can understand the error.
https://docs.ansible.com/ansible-lint/rules/default_rules.html
Use when: var rather than when: var == True (or conversely when: not var)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;So, I fixed this playbook after I applied Ansible-lint. This playbook doesn't have an error and it was beautiful playbook.&lt;br&gt;
I think adopt Ansible-lint in CI.&lt;/p&gt;

</description>
      <category>ansible</category>
    </item>
  </channel>
</rss>
