https://projects.duckcorp.org/https://projects.duckcorp.org/favicon.ico?16699090422020-05-18T10:11:16ZDuckCorp ProjectsDuckCorp Infrastructure - Bug #697: Fix "Found variable using reserved name: port" (ansible-role-ssh role)https://projects.duckcorp.org/issues/697?journal_id=21082020-05-18T10:11:16ZMarc Dequènesduck@duckcorp.org
<ul></ul><p>I agree this is an annoying message, but as far as I can read in the Ansible documentation this is not a reserved variable. So maybe it's a mistake but it needs to be clarified first.</p>
<p>If it happens to be a documentation mistake, then I'd like to understand what this variable is used for since I have no recollection of any base Ansible feature using it and never stumbled into any conflict.</p>
<p>I would also point out that this PR does not change all occurrences of <em>port</em> (for DC at least the <em>coturn</em> role is in the same situation); I know it's in the issue title and maybe you planned more updates, just to keep this in mind.</p> DuckCorp Infrastructure - Bug #697: Fix "Found variable using reserved name: port" (ansible-role-ssh role)https://projects.duckcorp.org/issues/697?journal_id=21092020-05-18T15:38:12ZPierre-Louis Bonicolipierre-louis.bonicoli@ir5.eu
<ul></ul><p>It looks like this warning <a href="https://github.com/ansible/ansible/pull/20567" class="external">exists since Ansible 2.3</a>.</p>
<p>I proposed this PR <a class="external" href="https://github.com/ansible/ansible/pull/69585">https://github.com/ansible/ansible/pull/69585</a> in order to document the current behavior.</p> DuckCorp Infrastructure - Bug #697: Fix "Found variable using reserved name: port" (ansible-role-ssh role)https://projects.duckcorp.org/issues/697?journal_id=21352020-07-08T04:45:50ZMarc Dequènesduck@duckcorp.org
<ul></ul><p>Thanks for the explanation and Ansible PR, because it really looked like a mistake int he warning function. I had no idea play's parameters were like variables and I did not know there was a `port` parameter either. I honestly do not get why it conflicts with role variables, probably some internal mystery but having certain very handy word taken from us is <strong>really</strong> annoying.</p>
<p>Merge. I adapted `roles/dc-base/tasks/main.yml` accordingly.</p>
<p>I spotted at least one remaining case.</p> DuckCorp Infrastructure - Bug #697: Fix "Found variable using reserved name: port" (ansible-role-ssh role)https://projects.duckcorp.org/issues/697?journal_id=21362020-07-08T04:45:57ZMarc Dequènesduck@duckcorp.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul>