<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mapreri/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mapreri">@mapreri</a> on December 24, 2014 15:19</em></p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">apt_repository module</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">never worked…</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I'm my systems I have a lot of repositories with an arch-qualifier.<br>
e.g.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deb [arch=ppc64el] http://ftp.debian.org/debian/ sid main
deb [arch=amd64,i386] http://dl.google.com/linux/talkplugin/deb/ stable main"><pre class="notranslate"><code class="notranslate">deb [arch=ppc64el] http://ftp.debian.org/debian/ sid main
deb [arch=amd64,i386] http://dl.google.com/linux/talkplugin/deb/ stable main
</code></pre></div>
<p dir="auto">apt_repository does not understand them and tries to re-add that repos, actually duplicating them.</p>
<p dir="auto">Moreover I'd like to be able to specify these option in ansible. Currently available options are (from sources.list(5):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="       ·   arch=arch1,arch2,...  can be used to specify for which architectures information should be downloaded. If this option is not set all architectures
           defined by the APT::Architectures option will be downloaded.

       ·   arch+=arch1,arch2,...  and arch-=arch1,arch2,...  which can be used to add/remove architectures from the set which will be downloaded.

       ·   trusted=yes can be set to indicate that packages from this source are always authenticated even if the Release file is not signed or the signature can't
           be checked. This disables parts of apt-secure(8) and should therefore only be used in a local and trusted context.  trusted=no is the opposite which
           handles even correctly authenticated sources as not authenticated."><pre class="notranslate"><code class="notranslate">       ·   arch=arch1,arch2,...  can be used to specify for which architectures information should be downloaded. If this option is not set all architectures
           defined by the APT::Architectures option will be downloaded.

       ·   arch+=arch1,arch2,...  and arch-=arch1,arch2,...  which can be used to add/remove architectures from the set which will be downloaded.

       ·   trusted=yes can be set to indicate that packages from this source are always authenticated even if the Release file is not signed or the signature can't
           be checked. This disables parts of apt-secure(8) and should therefore only be used in a local and trusted context.  trusted=no is the opposite which
           handles even correctly authenticated sources as not authenticated.
</code></pre></div>
<p dir="auto">these options are surrounded by square brackets, and can or cannot have leading and trailing spaces between the options and the brackets.</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="52823974" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/563" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/563/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/563">ansible/ansible-modules-core#563</a></em></p>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ec2_group</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.2.0
  config file = /home/aaron/projects/ops/provisioning/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]"><pre class="notranslate"><code class="notranslate">ansible 2.3.2.0
  config file = /home/aaron/projects/ops/provisioning/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">NR</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Amazon recently released an option for attach descriptions to security group rules. Would be great to add support for this in Ansible EC2 module.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">NR Feature Request</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Able to add <code class="notranslate">description</code> to <code class="notranslate">rules</code> when using ec2_group</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">NR Feature Request</p>
<p dir="auto">If I have time, I'll probably introduce this myself (assuming Boto3 supports it already...). SS example from the Management console:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18436531/30368725-fdfb0ca0-9869-11e7-9c6a-a09de60ab84f.PNG"><img src="https://user-images.githubusercontent.com/18436531/30368725-fdfb0ca0-9869-11e7-9c6a-a09de60ab84f.PNG" alt="descriptionexample" style="max-width: 100%;"></a></p>