Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates "tags" parameters on includes in main.yml #66

Merged
merged 1 commit into from
Feb 1, 2016
Merged

Updates "tags" parameters on includes in main.yml #66

merged 1 commit into from
Feb 1, 2016

Conversation

conorsch
Copy link
Contributor

Ansible v2 forbids in-line tags on include statements, and expects "tags" to be always a task-level parameter. Older versions of Ansible support both styles, so it makes sense to standardize on the latter.

Here's a vim one-liner to help with this conversion (I've been doing it a lot lately):

:%s/ tags=\(\w\+\)/^M tags: \1^M/g

With a bit of manual cleanup it saves a lot of time.

@conorsch
Copy link
Contributor Author

Note: CI tests are failing due to #63 outstanding. Once that's merged, tests will pass.

@chris-rock
Copy link
Member

@conorsch could you please rebase to master?

Ansible v2 forbids in-line tags on include statements, and expects
"tags" to be always a task-level parameter. Older versions of Ansible
support both styles, so it makes sense to standardize on the latter.
@conorsch
Copy link
Contributor Author

@chris-rock Rebased to master.

rndmh3ro pushed a commit that referenced this pull request Feb 1, 2016
Updates "tags" parameters on includes in main.yml
@rndmh3ro rndmh3ro merged commit 66f390f into dev-sec:master Feb 1, 2016
@rndmh3ro rndmh3ro added the bug label Mar 13, 2016
rndmh3ro pushed a commit that referenced this pull request Jul 24, 2020
Fixed KexAlgorithms Conditional Statement
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Fixed KexAlgorithms Conditional Statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants