Skip to content

Commit

Permalink
hide away the scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Jul 23, 2018
1 parent ff4c14b commit 3c39fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions provider/ansible/example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ module Ansible
}.freeze

EXAMPLE_DEFAULTS = {
name: 'testObject',
project: 'testProject',
name: 'test_object',
project: 'test_project',
auth_kind: 'service_account',
service_account_file: '/tmp/auth.pem'
}.freeze
Expand Down
4 changes: 0 additions & 4 deletions templates/ansible/tasks/task.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<%=
lines(indent(compile_string(hash, @code.to_yaml.gsub('---', '').strip), 6))
-%>
scopes:
<% (@scopes || object.__product.scopes).each do |scope| -%>
- <%= scope %>
<% end -%>
<% if state && state != 'facts' -%>
state: <%= state %>
<% end # if state -%>
Expand Down

0 comments on commit 3c39fb7

Please sign in to comment.